diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-09-16 07:43:34 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-09-20 21:23:01 +0200 |
| commit | 97237ad3feed80407ed1884ea84cf00fd9fea367 (patch) | |
| tree | d087502fab09167246a610d7987d135c59288403 /docs/ref/request-response.txt | |
| parent | 810bca5a1ae33a9c8b54a2a516aa5bb8ec013c3f (diff) | |
Removed versionadded/changed annotations for 3.2.
Diffstat (limited to 'docs/ref/request-response.txt')
| -rw-r--r-- | docs/ref/request-response.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 5da858720b..f651a77c4b 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -723,12 +723,6 @@ middleware, are not removed. HTTP header fields cannot contain newlines. An attempt to set a header field containing a newline character (CR or LF) will raise ``BadHeaderError`` -.. versionchanged:: 3.2 - - The :attr:`HttpResponse.headers` interface was added. - - The ability to set headers on instantiation was added. - Telling the browser to treat the response as a file attachment ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -753,8 +747,6 @@ Attributes .. attribute:: HttpResponse.headers - .. versionadded:: 3.2 - A case insensitive, dict-like object that provides an interface to all HTTP headers on the response. See :ref:`setting-header-fields`. @@ -824,10 +816,6 @@ Methods ``headers`` is a :class:`dict` of HTTP headers for the response. - .. versionchanged:: 3.2 - - The ``headers`` parameter was added. - .. method:: HttpResponse.__setitem__(header, value) Sets the given header name to the given value. Both ``header`` and |
