Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/cassettes/test_integration[a-g].json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"http_interactions": [], "recorded_with": "betamax/0.8.1"}
{"http_interactions": [], "recorded_with": "betamax/0.8.1"}
2 changes: 1 addition & 1 deletion tests/cassettes/test_integration[a_b_b].json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/cassettes/test_integration[a_c_b].json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/cassettes/test_integration[bad_specifiers].json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"http_interactions": [{"request": {"body": {"encoding": "utf-8", "string": ""}, "headers": {"User-Agent": ["python-requests/2.25.1"], "Accept-Encoding": ["gzip, deflate"], "accept": ["application/json"], "Connection": ["keep-alive"], "content-type": ["application/json"]}, "method": "GET", "uri": "https://pypi.org/pypi/bar/json/"}, "response": {"body": {"encoding": "utf-8", "string": "{\"message\": \"The resource has been moved to /pypi/bar/json; you should be redirected automatically.\\n\\n\", \"code\": \"301 Moved Permanently\", \"title\": \"Moved Permanently\"}"}, "headers": {"Connection": ["keep-alive"], "Content-Length": ["168"], "Access-Control-Allow-Headers": ["Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since"], "Access-Control-Allow-Methods": ["GET"], "Access-Control-Allow-Origin": ["*"], "Access-Control-Expose-Headers": ["X-PyPI-Last-Serial"], "Access-Control-Max-Age": ["86400"], "Cache-Control": ["max-age=900, public"], "Content-Security-Policy": ["base-uri 'self'; block-all-mixed-content; connect-src 'self' https://api.github.com/repos/ *.fastly-insights.com sentry.io https://api.pwnedpasswords.com https://2p66nmmycsj3.statuspage.io; default-src 'none'; font-src 'self' fonts.gstatic.com; form-action 'self'; frame-ancestors 'none'; frame-src 'none'; img-src 'self' https://warehouse-camo.ingress.cmh1.psfhosted.org/ www.google-analytics.com *.fastly-insights.com; script-src 'self' www.googletagmanager.com www.google-analytics.com *.fastly-insights.com https://cdn.ravenjs.com; style-src 'self' fonts.googleapis.com; worker-src *.fastly-insights.com"], "Content-Type": ["application/json"], "Location": ["https://pypi.org/pypi/bar/json"], "Referrer-Policy": ["origin-when-cross-origin"], "Server": ["nginx/1.13.9"], "Accept-Ranges": ["bytes"], "Date": ["Tue, 05 Jan 2021 10:40:30 GMT"], "X-Served-By": ["cache-bwi5148-BWI, cache-lon4279-LON"], "X-Cache": ["HIT, HIT"], "X-Cache-Hits": ["1, 5"], "X-Timer": ["S1609843231.920105,VS0,VE0"], "Vary": ["Accept-Encoding"], "Strict-Transport-Security": ["max-age=31536000; includeSubDomains; preload"], "X-Frame-Options": ["deny"], "X-XSS-Protection": ["1; mode=block"], "X-Content-Type-Options": ["nosniff"], "X-Permitted-Cross-Domain-Policies": ["none"]}, "status": {"code": 301, "message": "Moved Permanently"}, "url": "https://pypi.org/pypi/bar/json/"}, "recorded_at": "2021-01-05T10:40:30"}, {"request": {"body": {"encoding": "utf-8", "string": ""}, "headers": {"User-Agent": ["python-requests/2.25.1"], "Accept-Encoding": ["gzip, deflate"], "accept": ["application/json"], "Connection": ["keep-alive"]}, "method": "GET", "uri": "https://pypi.org/pypi/bar/json"}, "response": {"body": {"encoding": "utf-8", "base64_string": "H4sIAAAAAAAC/+2VbW/bNhDHv4qhVxvgWKTEJ/nVinXoimVJgKbYsGEw+HCytehppJTULfrdd5TtxgFSTAW6d31hwDwej3f/+x31IanaskvWHxI9DrvOJ+vk7XA3Ll5CU/lkebRuoNFVjXvj4OLGD9u4XtmuQRczbgev7d1m9OjSjnW9TGytQ6jKCnxI1n8mP7X3le/aBtphsV4vrocd+MWZEaO8bgdoHbjFi9FV0FqIji/hHuquj1GWyWVloQ2T/frN68WLvvfdPR7A9aurt4tX0ILX9eJmNHVlFyfv717dXH6Pp68xih6qdrt4sw8DNPHYDcb5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vIgVH0l1JisJSZgrtTOYYNQVzBSh6zpchOs4B1pAVJW5qS0rsrBDYWGE5OFpy7RyODMu4AQlEWM1UpizYgkA5jy86k68ZmX9tvthn+VK3FHkha17M4OvReaU4F4x/OV9S4uOV4hhbqQmAzBU3mmGDcKRdjp+N+BLYrMyZNUzip4ZQRAuwGYQRpQiT6TN6z+Hr45Rq+MbXN77+H77+BRvPiJsIDgAA"}, "headers": {"Connection": ["keep-alive"], "Content-Length": ["1209"], "Access-Control-Allow-Headers": ["Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since"], "Access-Control-Allow-Methods": ["GET"], "Access-Control-Allow-Origin": ["*"], "Access-Control-Expose-Headers": ["X-PyPI-Last-Serial"], "Access-Control-Max-Age": ["86400"], "Cache-Control": ["max-age=900, public"], "Content-Encoding": ["gzip"], "Content-Security-Policy": ["base-uri 'self'; block-all-mixed-content; connect-src 'self' https://api.github.com/repos/ *.fastly-insights.com sentry.io https://api.pwnedpasswords.com https://2p66nmmycsj3.statuspage.io; default-src 'none'; font-src 'self' fonts.gstatic.com; form-action 'self'; frame-ancestors 'none'; frame-src 'none'; img-src 'self' https://warehouse-camo.ingress.cmh1.psfhosted.org/ www.google-analytics.com *.fastly-insights.com; script-src 'self' www.googletagmanager.com www.google-analytics.com *.fastly-insights.com https://cdn.ravenjs.com; style-src 'self' fonts.googleapis.com; worker-src *.fastly-insights.com"], "Content-Type": ["application/json"], "ETag": ["\"+pzdlG2GpfEKePCce8BgFw\""], "Referrer-Policy": ["origin-when-cross-origin"], "Server": ["nginx/1.13.9"], "X-PyPI-Last-Serial": ["1150747"], "Accept-Ranges": ["bytes"], "Date": ["Tue, 05 Jan 2021 10:40:30 GMT"], "X-Served-By": ["cache-bwi5126-BWI, cache-lon4279-LON"], "X-Cache": ["HIT, HIT"], "X-Cache-Hits": ["1, 5"], "X-Timer": ["S1609843231.928413,VS0,VE0"], "Vary": ["Accept-Encoding"], "Strict-Transport-Security": ["max-age=31536000; includeSubDomains; preload"], "X-Frame-Options": ["deny"], "X-XSS-Protection": ["1; mode=block"], "X-Content-Type-Options": ["nosniff"], "X-Permitted-Cross-Domain-Policies": ["none"]}, "status": {"code": 200, "message": "OK"}, "url": "https://pypi.org/pypi/bar/json"}, "recorded_at": "2021-01-05T10:40:30"}], "recorded_with": "betamax/0.8.1"}
{"http_interactions": [{"request": {"body": {"encoding": "utf-8", "string": ""}, "headers": {"User-Agent": ["python-requests/2.25.1"], "Accept-Encoding": ["gzip, deflate"], "accept": ["application/json"], "Connection": ["keep-alive"], "content-type": ["application/json"]}, "method": "GET", "uri": "https://pypi.org/pypi/bar/json/"}, "response": {"body": {"encoding": "utf-8", "string": "{\"message\": \"The resource has been moved to /pypi/bar/json; you should be redirected automatically.\\n\\n\", \"code\": \"301 Moved Permanently\", \"title\": \"Moved Permanently\"}"}, "headers": {"Connection": ["keep-alive"], "Content-Length": ["168"], "Access-Control-Allow-Headers": ["Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since"], "Access-Control-Allow-Methods": ["GET"], "Access-Control-Allow-Origin": ["*"], "Access-Control-Expose-Headers": ["X-PyPI-Last-Serial"], "Access-Control-Max-Age": ["86400"], "Cache-Control": ["max-age=900, public"], "Content-Security-Policy": ["base-uri 'self'; block-all-mixed-content; connect-src 'self' https://api.github.com/repos/ *.fastly-insights.com sentry.io https://api.pwnedpasswords.com https://2p66nmmycsj3.statuspage.io; default-src 'none'; font-src 'self' fonts.gstatic.com; form-action 'self'; frame-ancestors 'none'; frame-src 'none'; img-src 'self' https://warehouse-camo.ingress.cmh1.psfhosted.org/ www.google-analytics.com *.fastly-insights.com; script-src 'self' www.googletagmanager.com www.google-analytics.com *.fastly-insights.com https://cdn.ravenjs.com; style-src 'self' fonts.googleapis.com; worker-src *.fastly-insights.com"], "Content-Type": ["application/json"], "Location": ["https://pypi.org/pypi/bar/json"], "Referrer-Policy": ["origin-when-cross-origin"], "Server": ["nginx/1.13.9"], "Accept-Ranges": ["bytes"], "Date": ["Tue, 05 Jan 2021 10:40:30 GMT"], "X-Served-By": ["cache-bwi5148-BWI, cache-lon4279-LON"], "X-Cache": ["HIT, HIT"], "X-Cache-Hits": ["1, 5"], "X-Timer": ["S1609843231.920105,VS0,VE0"], "Vary": ["Accept-Encoding"], "Strict-Transport-Security": ["max-age=31536000; includeSubDomains; preload"], "X-Frame-Options": ["deny"], "X-XSS-Protection": ["1; mode=block"], "X-Content-Type-Options": ["nosniff"], "X-Permitted-Cross-Domain-Policies": ["none"]}, "status": {"code": 301, "message": "Moved Permanently"}, "url": "https://pypi.org/pypi/bar/json/"}, "recorded_at": "2021-01-05T10:40:30"}, {"request": {"body": {"encoding": "utf-8", "string": ""}, "headers": {"User-Agent": ["python-requests/2.25.1"], "Accept-Encoding": ["gzip, deflate"], "accept": ["application/json"], "Connection": ["keep-alive"]}, "method": "GET", "uri": "https://pypi.org/pypi/bar/json"}, "response": {"body": {"encoding": "utf-8", "base64_string": "H4sIAAAAAAAC/+2VbW/bNhDHv4qhVxvgWKTEJ/nVinXoimVJgKbYsGEw+HCytehppJTULfrdd5TtxgFSTAW6d31hwDwej3f/+x31IanaskvWHxI9DrvOJ+vk7XA3Ll5CU/lkebRuoNFVjXvj4OLGD9u4XtmuQRczbgev7d1m9OjSjnW9TGytQ6jKCnxI1n8mP7X3le/aBtphsV4vrocd+MWZEaO8bgdoHbjFi9FV0FqIji/hHuquj1GWyWVloQ2T/frN68WLvvfdPR7A9aurt4tX0ILX9eJmNHVlFyfv717dXH6Pp68xih6qdrt4sw8DNPHYDcb5HfdufLf1umni7qVut6PeTtfc7LH4Nv7LZnnl6HXb9Xg7Lt505fCgPZyKOBV/WRmvfQXh7OyvnRtrCMlfy8RBsL7qh6prYy+ufrm6/u0qeWLf2C6KNWyGfQ8nxV1nw3kHXPfQ1p12B9t5oONGiE3HNg0bp/fJ+oIuD6sGg+/O1g8Ad3H5cZnsugY2PZaNAXfD0Id1mm6rYTeaiEJ6hCM1OpJzB/uHzsdrDg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["keep-alive"], "Content-Length": ["1209"], "Access-Control-Allow-Headers": ["Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since"], "Access-Control-Allow-Methods": ["GET"], "Access-Control-Allow-Origin": ["*"], "Access-Control-Expose-Headers": ["X-PyPI-Last-Serial"], "Access-Control-Max-Age": ["86400"], "Cache-Control": ["max-age=900, public"], "Content-Encoding": ["gzip"], "Content-Security-Policy": ["base-uri 'self'; block-all-mixed-content; connect-src 'self' https://api.github.com/repos/ *.fastly-insights.com sentry.io https://api.pwnedpasswords.com https://2p66nmmycsj3.statuspage.io; default-src 'none'; font-src 'self' fonts.gstatic.com; form-action 'self'; frame-ancestors 'none'; frame-src 'none'; img-src 'self' https://warehouse-camo.ingress.cmh1.psfhosted.org/ www.google-analytics.com *.fastly-insights.com; script-src 'self' www.googletagmanager.com www.google-analytics.com *.fastly-insights.com https://cdn.ravenjs.com; style-src 'self' fonts.googleapis.com; worker-src *.fastly-insights.com"], "Content-Type": ["application/json"], "ETag": ["\"+pzdlG2GpfEKePCce8BgFw\""], "Referrer-Policy": ["origin-when-cross-origin"], "Server": ["nginx/1.13.9"], "X-PyPI-Last-Serial": ["1150747"], "Accept-Ranges": ["bytes"], "Date": ["Tue, 05 Jan 2021 10:40:30 GMT"], "X-Served-By": ["cache-bwi5126-BWI, cache-lon4279-LON"], "X-Cache": ["HIT, HIT"], "X-Cache-Hits": ["1, 5"], "X-Timer": ["S1609843231.928413,VS0,VE0"], "Vary": ["Accept-Encoding"], "Strict-Transport-Security": ["max-age=31536000; includeSubDomains; preload"], "X-Frame-Options": ["deny"], "X-XSS-Protection": ["1; mode=block"], "X-Content-Type-Options": ["nosniff"], "X-Permitted-Cross-Domain-Policies": ["none"]}, "status": {"code": 200, "message": "OK"}, "url": "https://pypi.org/pypi/bar/json"}, "recorded_at": "2021-01-05T10:40:30"}], "recorded_with": "betamax/0.8.1"}
Loading