summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-01-18 20:39:27 +0100
committerJulian Andres Klode <jak@debian.org>2017-02-22 16:53:46 +0100
commitb5d0e1be09fd07e693bae8046848059f578d029f (patch)
tree5a9fbd28f39f831844806163c84549498d273765 /apt-pkg/algorithms.h
parentd0a345d4a41802e9129b78d70aabd6239a3c651a (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 (cherry picked from commit 4759a702081297bde66982efed8b2b7fd39ca27c)
Diffstat (limited to 'apt-pkg/algorithms.h')
0 files changed, 0 insertions, 0 deletions