consider redirecting with status code 302 #1

aragilar opened this Issue Mar 2, 2012 · 3 comments


None yet

2 participants

aragilar commented Mar 2, 2012

When I try using with apt-cacher-ng, I receive 307 errors.


Thanks for your report. 307 is the HTTP code to indicate a temporary redirection. That's how the redirector works.

A quick look at apt-cacher-ng's code indicates it does store the destination, but at a later point it only seems to handle 301 and 302 redirections. While I could silently make it a 301 when apt-cacher-ng is used, I would really like to see it handling 307 correctly. Could you please file a bug report against apt-cacher-ng?


I'm considering switching to a 302 redirection, since the difference between 302, 303 and 307 doesn't affect the redirector.
The benefit is that it comes from HTTP 1.0 and as such it should be properly supported by other programs.

@rgeissert rgeissert was assigned Apr 28, 2012
@rgeissert rgeissert closed this in b1a5647 May 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment