Skip to content

Commit

Permalink
Mark application/gpx+xml content type as compressible
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaczero committed Apr 5, 2024
1 parent 326be93 commit 87e1ae3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions starlette/middleware/compress.py
Expand Up @@ -404,6 +404,7 @@ def parse_accept_encoding(accept_encoding: str) -> frozenset[str]:
_compress_content_types: set[str] = {
"application/atom+xml",
"application/geo+json",
"application/gpx+xml",
"application/javascript",
"application/x-javascript",
"application/json",
Expand Down

0 comments on commit 87e1ae3

Please sign in to comment.