Comment 1 for bug 1657567

Revision history for this message
Julian Andres Klode (juliank) wrote :

Fix committed:

https://anonscm.debian.org/cgit/apt/apt.git/commit/?id=4759a70

commit 4759a702081297bde66982efed8b2b7fd39ca27c
Author: Julian Andres Klode <email address hidden>
Date: Wed Jan 18 20:39:27 2017 +0100

    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