diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index f832368c03f..10d18a8d9d3 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -846,6 +846,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.