diff options
author | Julian Andres Klode <jak@debian.org> | 2017-01-18 20:39:27 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-01-24 11:48:22 +0100 |
commit | 4759a702081297bde66982efed8b2b7fd39ca27c (patch) | |
tree | 7d08902b71b6d06d22373f0281d8ebbdc407046f /apt-pkg/contrib/hashsum_template.h | |
parent | 93cff633a830e222693fc0f3d78e6e534d1126ee (diff) |
basehttp: Only read Content-Range on 416 and 206 responses
This fixes issues with sourceforge where the redirector includes
such a Content-Range in a 302 redirect. Since we do not really know
what file is meant in a redirect, let's just ignore it for all
responses other than 416 and 206.
Maybe we should also get rid of the other errors, and just ignore
the field in those cases as well?
LP: #1657567
Diffstat (limited to 'apt-pkg/contrib/hashsum_template.h')
0 files changed, 0 insertions, 0 deletions