Changes between Initial Version and Version 2 of Ticket #34404
- Timestamp:
- Mar 11, 2023, 1:46:51 AM (21 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34404
- Property Cc added
- Property Triage Stage Unreviewed → Accepted
- Property Type Uncategorized → Cleanup/optimization
-
Ticket #34404 – Description
initial v2 1 1 Below is an excerpt from the Django document for FileResponse object. 2 2 Link: [https://docs.djangoproject.com/en/4.1/ref/request-response/] 3 3 4 "The Content-Length and Content-Type headers are automatically set when they can be guessed from contents of open_file".4 "The Content-Length and Content-Type headers are automatically set when they can be guessed from contents of open_file". 5 5 6 6 But code inside FileResponse object does not use contents of open_file to guess content type.