-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
CDN/networkIssues related to our CDN, users having problems connecting to PyPIIssues related to our CDN, users having problems connecting to PyPI
Description
Describe the bug
The https://pypi.org/simple/ index is stale when fetching gzip encoded.
Expected behavior
the x-pypi-last-serial
header should be the same or close when fetching the /simple/ index with and without gzip compression.
To Reproduce
Fetch serial for non-compressed index:
$ curl -qs -D- https://pypi.org/simple/ | grep last-serial
x-pypi-last-serial: 4872850
Fetch serial for compressed index:
$ curl -qs -D- -H "Accept-Encoding: gzip" https://pypi.org/simple/ | grep last-serial
x-pypi-last-serial: 4869648
Currently the difference is ~3200 generations.
My Platform
Noticed this with an internal corporate proxy that requests gzip'd data by default for performance reasons. We can request uncompressed data, but that would just waste your network bandwidth.
Additional context
Metadata
Metadata
Assignees
Labels
CDN/networkIssues related to our CDN, users having problems connecting to PyPIIssues related to our CDN, users having problems connecting to PyPI