New submission from Lye :
I found out in the docs 3.6, in the class urllib.request.Request, for the input
of 'data' data types, it says :
"The supported object types include bytes, file-like objects, and iterables."
But after testing it with data type dict for the '
Lye added the comment:
Hi @matrixise,
Sorry that the example in that stackoverflow site is a dummy API server. I
tested my code in a real API server so I can produce the error. I have
re-tested my code with that dummy site and yes you won't able to get that
error. To reproduce that
Lye added the comment:
And I tested in both :
Centos 6.10
4.14.77-70.59.amzn1.x86_64
--
___
Python tracker
<https://bugs.python.org/issue36064>
___
___
Pytho