diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 7a0ccfd024beb3..99eb44f65d6b86 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -252,6 +252,9 @@ The following classes are provided: bytes objects, while ``Transfer-Encoding: chunked`` as specified in :rfc:`7230`, Section 3.3.1 will be used to send files and other iterables. + *data* is sent as is without serialization. An iterable is sent element + by element so passing a :class:`dict`, for example, sends only its keys. + For an HTTP POST request method, *data* should be a buffer in the standard :mimetype:`application/x-www-form-urlencoded` format. The :func:`urllib.parse.urlencode` function takes a mapping or sequence