This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients docs@python, martin.panter, matrixise, orsenthil, sylye, xtreak
Date 2019-02-22.10:16:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550830563.95.0.999311082121.issue36064@roundup.psfhosted.org>
In-reply-to
Content
I agree the documentation is insufficient. It should have said if “data” is iterated, it must yield bytes-like objects.

I agree it is unwise to yet more special cases for the uploaded data types. When Lye passed the dictionary of three keys and values, I suspect they weren’t expecting it to upload just the key names using one HTTP chunk for each key. See Issue 23740 about the mess of data types currently supported.
History
Date User Action Args
2019-02-22 10:16:03martin.pantersetrecipients: + martin.panter, orsenthil, docs@python, matrixise, xtreak, sylye
2019-02-22 10:16:03martin.pantersetmessageid: <1550830563.95.0.999311082121.issue36064@roundup.psfhosted.org>
2019-02-22 10:16:03martin.panterlinkissue36064 messages
2019-02-22 10:16:03martin.pantercreate