diff --git a/repo_autoindex/_impl/api.py b/repo_autoindex/_impl/api.py index c7ee2c3..93db7f8 100644 --- a/repo_autoindex/_impl/api.py +++ b/repo_autoindex/_impl/api.py @@ -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", ):