Refs #30565 -- Doc'd HttpResponse.close() method.

This commit is contained in:
Chris Jerdonek 2019-06-19 13:57:15 +02:00 committed by Carlton Gibson
parent 00169bc361
commit 533311782f
1 changed files with 5 additions and 0 deletions

View File

@ -858,6 +858,11 @@ Methods
values you used in ``set_cookie()`` -- otherwise the cookie may not be
deleted.
.. method:: HttpResponse.close()
This method is called at the end of the request directly by the WSGI
server.
.. method:: HttpResponse.write(content)
This method makes an :class:`HttpResponse` instance a file-like object.