#34405: Improper guessing of Mime Type for "br" and "Z" file types
------------------------------------------------+------------------------
Reporter: chamalsl | Owner: nobody
Type: Uncategorized | Status: new
Component: File uploads/storage | Version: 4.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
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'))
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34405>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070186cea46594-0463392a-2fb8-475e-af16-1414a2e24471-000000%40eu-central-1.amazonses.com.