mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like object.
This commit is contained in:
parent
533311782f
commit
cce47ff65a
3 changed files with 79 additions and 1 deletions
|
@ -861,7 +861,8 @@ Methods
|
|||
.. method:: HttpResponse.close()
|
||||
|
||||
This method is called at the end of the request directly by the WSGI
|
||||
server.
|
||||
server, or when the WSGI server closes the file-like object, if
|
||||
`wsgi.file_wrapper`_ is used for the request.
|
||||
|
||||
.. method:: HttpResponse.write(content)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue