Opened 2 years ago
Closed 2 years ago
#34405 closed Bug (fixed)
Improper guessing of Mime Type for "br" and "Z" file types
Description ¶
Below FileResponse will set the content type as text/html, even if the last file extension is "Z' or "br".
FileResponse(open('test.html.Z', 'rb')) FileResponse(open('test.html.br', 'rb'))
Change History (4)
comment:1 by , 2 years ago
Cc: | added |
---|
comment:2 by , 2 years ago
Component: | File uploads/storage → HTTP handling |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Bug |
Note:
See TracTickets
for help on using tickets.
Thanks for the report!