[Distutils] Buildout can't talk to PyPI any more?

Maurits van Rees m.van.rees at zestsoftware.nl
Wed May 29 14:30:55 CEST 2013


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
Server: nginx/1.1.19
Content-Type: text/html; charset=utf-8
Strict-Transport-Security: max-age=31536000
Cache-Control: max-age=3600, public
Via: 1.1 varnish
Content-Length: 3232
Accept-Ranges: bytes
Date: Wed, 29 May 2013 12:26:01 GMT
Via: 1.1 varnish
Age: 3594
Connection: keep-alive
X-Served-By: cache-s29-SJC2, cache-a39-AMS
X-Cache: HIT, HIT
X-Cache-Hits: 1, 27
X-Timer: S1369826885.055231571,VS0,VS76,VE76,VE3476514
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
Server: nginx/1.1.19
Content-Type: text/html; charset=utf-8
Content-encoding: gzip
Strict-Transport-Security: max-age=31536000
Cache-Control: max-age=3600, public
Via: 1.1 varnish
Content-Length: 829
Accept-Ranges: bytes
Date: Wed, 29 May 2013 12:26:04 GMT
Via: 1.1 varnish
Age: 2842
Connection: keep-alive
X-Served-By: cache-s29-SJC2, cache-a16-AMS
X-Cache: MISS, HIT
X-Cache-Hits: 0, 23
X-Timer: S1369827522.488703728,VS0,VS77,VE241,VE2841833

Or in a version where you can more easily see the differences:

https://gist.github.com/mauritsvanrees/5669913/revisions


-- 
Maurits van Rees: http://maurits.vanrees.org/
Zest Software: http://zestsoftware.nl



More information about the Distutils-SIG mailing list