diff options
author | Erlend E. Aasland <erlend@python.org> | 2024-01-23 09:39:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 09:39:57 (GMT) |
commit | 3efcf6673e46507e144e859fa9a33d1820380b9a (patch) | |
tree | 3af0141d223f12c771b0538f55845afbc87288ec /Doc/library/http.client.rst | |
parent | ccd8d77112088f00b511749117263df5aae4630a (diff) | |
download | cpython-3efcf6673e46507e144e859fa9a33d1820380b9a.zip cpython-3efcf6673e46507e144e859fa9a33d1820380b9a.tar.gz cpython-3efcf6673e46507e144e859fa9a33d1820380b9a.tar.bz2 |
[3.12] Docs: align usage of versionadded/versionchanged with recommended practice (#114409) (#114472)
(cherry picked from commit 1d7bddd9612bcbaaedbc837e2936de773e855411)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Diffstat (limited to 'Doc/library/http.client.rst')
-rw-r--r-- | Doc/library/http.client.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index 95b6c1f..7e45020 100644 --- a/Doc/library/http.client.rst +++ b/Doc/library/http.client.rst @@ -311,7 +311,7 @@ HTTPConnection Objects :class:`str` or bytes-like object that is not also a file as the body representation. - .. versionadded:: 3.2 + .. versionchanged:: 3.2 *body* can now be an iterable. .. versionchanged:: 3.6 @@ -461,9 +461,8 @@ also send your request step by step, by using the four functions below. This is to avoid premature termination of the read of the request by the target server due to malformed encoding. - .. versionadded:: 3.6 - Chunked encoding support. The *encode_chunked* parameter was - added. + .. versionchanged:: 3.6 + Added chunked encoding support and the *encode_chunked* parameter. .. method:: HTTPConnection.send(data) |