chiark / gitweb /
dgit: ftpmaster api fetch: Check http error code (!)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 19 Oct 2016 21:55:55 +0000 (22:55 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 23 Oct 2016 12:31:30 +0000 (13:31 +0100)
commit2f3f7b330bf4f06c32bdb101fba8530d90399752
tree74e9f1978de7c9c9d94d752b9da86bfe5512aef2
parent3c607d65d5675be05fb41f87fd74cd3a00016b65
dgit: ftpmaster api fetch: Check http error code (!)

We are going to want to handle 404 specially so do not just use -f.

Handle file:/// specially since curl just always invents 000 for the
http error code in that case.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
dgit