mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like object.
This commit is contained in:
committed by
Carlton Gibson
parent
533311782f
commit
cce47ff65a
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user