On Sunday 11 March 2012, you wrote:
> diffindex-download calls url_not_found when looking for the index
> file and when downloading the Contents file, resulting in double
> requests.
> 
> You could just pass --fail to curl and look for the exit code 22.
> The attached patch does that. It is a bit ugly, though.

According to the curl docs, using --fail treats all 4xx errors the 
same. The idea of the double request was to treat 404 differently. 
Other 4xx errors should not be ignored.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to