{{{
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.
* cc: chamalsl (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/34405#comment:1>
* owner: nobody => Mariusz Felisiak
* status: new => assigned
* type: Uncategorized => Bug
* component: File uploads/storage => HTTP handling
* stage: Unreviewed => Accepted
Comment:
Thanks for the report!
--
Ticket URL: <https://code.djangoproject.com/ticket/34405#comment:2>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/16642 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/34405#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"254ad2e3450d8175170914f06af8358d2becc35b" 254ad2e]:
{{{
#!CommitTicketReference repository=""
revision="254ad2e3450d8175170914f06af8358d2becc35b"
Fixed #34405 -- Fixed setting Content-Type header in FileResponse for
compress and brotli.
Thanks Chamal De Silva for the report.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34405#comment:4>