Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 081158e commit 9e30fbaCopy full SHA for 9e30fba
1 file changed
Doc/library/urllib.request.rst
@@ -192,8 +192,8 @@ The following classes are provided:
192
*data* must be an object specifying additional data to send to the
193
server, or ``None`` if no such data is needed. Currently HTTP
194
requests are the only ones that use *data*. The supported object
195
- types include bytes, file-like objects, and iterables. If no
196
- ``Content-Length`` nor ``Transfer-Encoding`` header field
+ types include bytes, file-like objects, and iterables of bytes-like objects.
+ If no ``Content-Length`` nor ``Transfer-Encoding`` header field
197
has been provided, :class:`HTTPHandler` will set these headers according
198
to the type of *data*. ``Content-Length`` will be used to send
199
bytes objects, while ``Transfer-Encoding: chunked`` as specified in
0 commit comments