[Distutils] Buildout can't talk to PyPI any more?
Donald Stufft
donald at stufft.io
Wed May 29 15:01:01 CEST 2013
I believe this should be fixed now. I ensured Vary: Accept-Encoding was
called even when responses were gzipped.
I also purged the cache so bad entries should be gone. IF you have any
more issues after this email please tell me.
--
Donald Stufft
donald at stufft.io
On Wed, May 29, 2013, at 08:38 AM, Marius Gedminas wrote:
> On Wed, May 29, 2013 at 02:30:55PM +0200, Maurits van Rees wrote:
> > Op 29-05-13 14:16, Donald Stufft schreef:
> > >Can you get me outputs of curl with the -i flag of it both gzipped and
> > >not gzipped? I can't seem to reproduce it.
> >
> > When it works I get this:
> >
> > $ curl -i http://pypi.python.org/simple/pep8/
> > HTTP/1.1 200 OK
> ...
> > Content-Length: 3232
> ...
> > Vary: Accept-Encoding
> >
> > When I get a gzipped version I get this:
> >
> > $ curl -i http://pypi.python.org/simple/pep8/
> > HTTP/1.1 200 OK
> ...
> > Content-encoding: gzip
> ...
>
> There's a discussion about this in #buildout on irc.freenode.net
>
> It looks like the upstream server is misconfigured and doesn't emit
>
> Vary: Accept-Encoding
>
> when a client does a GET with Accept-Encoding: gzip and gets back a
> gzipped response (which then gets cached and served to everyone for one
> hour).
>
> Donald Stufft is aware of this and is trying to fix it from his phone
> while sitting in an OR waiting room.
>
> I'm in awe.
>
> Marius Gedminas
> --
> IBM motto: "TEN vowels? Don't you know vowels are scrd?"
> -- Linus Torvalds
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
> Email had 1 attachment:
> + signature.asc
> 1k (application/pgp-signature)
More information about the Distutils-SIG
mailing list