mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-23 14:31:55 +03:00
427b5e94f4
The pypi proxy filters packages, which can end up corrupting the pip cache. For an example of what this would look like, see https://github.com/pypi/warehouse/issues/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). |
||
---|---|---|
.. | ||
src | ||
filter-pypi-responses.py | ||
flake-module.nix | ||
package.nix | ||
script.nix |