On Mon, Mar 21, 2011 at 08:54:41AM +0100, Eus wrote: > Hi! > > On Sun, 2011-03-20 at 18:22 +0100, Eus wrote: > > > > > If suppose CURLOPT_FOLLOWLOCATION was set when the wireless connection > > > > had been disconnected, then would apt-cacher have cached the login page > > > > of the hotspot provider? > > > > > > Yes, I suspect so, but presumably with a 200 status and that would have > > > been returned to the apt-get/aptitude client which would not be happy! > > In my setting, it turns out that using only the FOLLOWLOCATION patch > prevents the delivery of "<HTML><BODY><H2>Browser error!</H2>Browser > does not support redirects!</BODY>" line after the 302 HTTP header to > apt-get. This makes apt-get moves along happily by ignoring > Translate-en.bz2 printing "Ign ..." on the screen _although_ apt-cacher > sends the login page to apt-get (apt-cacher has the login page in its > packages directory under the name *Translate-en.bz2). Your second patch > then acts as a garbage collector by removing the login page from the > package directory and returns 404 to apt-get keeping apt-get moving > along happily printing "Ign..." The details follow:
Thanks. I will queue this for the next upload which should be fairly shortly. Mark -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org