Changes between Initial Version and Version 2 of Ticket #34404


Ignore:
Timestamp:
Mar 11, 2023, 1:46:51 AM (21 months ago)
Author:
Mariusz Felisiak
Comment:

Thanks for the report.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34404

    • Property Cc chamalsl added
    • Property Triage Stage UnreviewedAccepted
    • Property Type UncategorizedCleanup/optimization
  • Ticket #34404 – Description

    initial v2  
    11Below is an excerpt from the Django document for FileResponse object.
    2   Link: [https://docs.djangoproject.com/en/4.1/ref/request-response/]
     2Link: [https://docs.djangoproject.com/en/4.1/ref/request-response/]
    33
    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".
    55
    66But code inside FileResponse object does not use contents of open_file to guess content type.
Back to Top