Hi Dominik,

On Mon, Jun 3, 2013 at 5:53 PM, Dominik Schulz (tex) <l...@ds.gauner.org> wrote:
> apt-get update breaks when the server replies with a "HTTP/1.1 406 Not
> Acceptable" to a Range/If-Range request.

Which server is that?

I don't see how Ranges are connected with the 406 error as it deals with
the "Accept:" header, the Range-related error would be 416.

Is it maybe that the server is stumbling over the "Accept:" line we sent for
some files in case its a range-request, but happily ignores it if not ranged?


I presume it would be better to change HttpMethod::DealWithHeaders to
react to 406/416 with a retry without range/accept headers rather than add
yet another obscure config option.


Best regards

David Kalnischkies


-- 
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