Comment 21 for bug 703807

Revision history for this message
Martin Pool (mbp) wrote : Re: "easy_install pyOpenSSL" says "error: Unexpected HTML page found at http://launchpad.net/pyopenssl/main/0.11/+download/pyOpenSSL-0.11.tar.gz"

Sending 'Cache-control: no-cache' gets the content-type correct on that request, and it stays correct on later requests that go through the same proxy.

So there's a workaround for anyone affected by this: use curl or similar to blow out the caches.

I wonder why squid is getting the wrong header stuck in its cache? Is it that launchpad librarian occasionally serves the right body with the wrong header? Or is it something within our squid setup?