diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 28e5170595..07dc42900d 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -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.