mirror of https://github.com/django/django.git
[2.2.x] Refs #30565 -- Doc'd HttpResponse.close() method.
Backport of 533311782f
from master
This commit is contained in:
parent
c3a0f76d11
commit
d200069b15
|
@ -846,6 +846,11 @@ Methods
|
||||||
values you used in ``set_cookie()`` -- otherwise the cookie may not be
|
values you used in ``set_cookie()`` -- otherwise the cookie may not be
|
||||||
deleted.
|
deleted.
|
||||||
|
|
||||||
|
.. method:: HttpResponse.close()
|
||||||
|
|
||||||
|
This method is called at the end of the request directly by the WSGI
|
||||||
|
server.
|
||||||
|
|
||||||
.. method:: HttpResponse.write(content)
|
.. method:: HttpResponse.write(content)
|
||||||
|
|
||||||
This method makes an :class:`HttpResponse` instance a file-like object.
|
This method makes an :class:`HttpResponse` instance a file-like object.
|
||||||
|
|
Loading…
Reference in New Issue