From d200069b15ab38dbf939be66864e655921c74ca8 Mon Sep 17 00:00:00 2001 From: Chris Jerdonek Date: Wed, 19 Jun 2019 13:57:15 +0200 Subject: [PATCH] [2.2.x] Refs #30565 -- Doc'd HttpResponse.close() method. Backport of 533311782fd0c974208490ec9d11da3bbe179dea from master --- docs/ref/request-response.txt | 5 +++++ 1 file changed, 5 insertions(+) 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.