mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #24072 -- Added FileResponse for streaming binary files.
This commit is contained in:
committed by
Tim Graham
parent
05f702b94c
commit
3d2cae0896
@@ -559,6 +559,8 @@ Requests and Responses
|
||||
<django.http.HttpResponse.setdefault>` method allows setting a header unless
|
||||
it has already been set.
|
||||
|
||||
* You can use the new :class:`~django.http.FileResponse` to stream files.
|
||||
|
||||
* The :func:`~django.views.decorators.http.condition` decorator for
|
||||
conditional view processing now supports the ``If-unmodified-since`` header.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user