[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#710924: apt: HTTP 406 Not Acceptable with alternates breaks update



Hi Dominik,

On Mon, Jun 3, 2013 at 5:53 PM, Dominik Schulz (tex) <lkml@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


Reply to: