Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pip: disable cache for modified response
The pypi proxy filters packages, which can end up corrupting the pip cache. For an example of what this would look like, see pypi/warehouse#14457 This commit prevents the the cache from storing our modified response by adding a 'Vary: *' header. Judging from the caching code, this is the least intrusive approach to prevent caching ('Cache-Control: no-cache' deletes existing caches for example).
- Loading branch information