Closed jgiannuzzi closed 8 years ago
Thanks for all the merges!
Unrelated, but I have one more potential PR: the advertised default value for the "gzip" option is False, but the actual default value is True. I want to fix it, but what should the default value be? Even though it was advertised as False, it was actually True, so changing it to False would change the current behaviour. What do you think?
Actually I use nginx as a reverse proxy I don't want compress/decompress response twice. When you want to run this service without nginx you can enable gzip explicitly.
Thanks for all the merges!
My pleasure.
So what should the actual default be? gzip=False?
So what should the actual default be? gzip=False?
Yes gzip=False
is correct. Explicit better than implicit.
This PR adds support for using pypi-server behind an HTTP proxy through the standard environment variables http_proxy or https_proxy (depending on the scheme of the PyPI index URL).