mirror of
https://github.com/release-engineering/repo-autoindex.git
synced 2025-02-23 13:42:52 +00:00
Merge remote-tracking branch 'origin/main' into deps/poetry-update
This commit is contained in:
commit
d63f69f460
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ def http_fetcher(session: aiohttp.ClientSession) -> Fetcher:
|
|||
# Deal with the non-ideal content negotiation
|
||||
# for certain storage backends.
|
||||
if url.endswith(".gz") and resp.content_type in (
|
||||
"application/gzip",
|
||||
"application/x-gzip",
|
||||
"application/octet-stream",
|
||||
):
|
||||
|
|
Loading…
Add table
Reference in a new issue