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 christian.heimes
Recipients bhushan.shelke, christian.heimes, paul.moore, ronaldoussoren, steve.dower, tim.golden, zach.ware
Date 2020-11-25.15:29:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606318196.38.0.474648269227.issue42417@roundup.psfhosted.org>
In-reply-to
Content
I also noticed that you are passing an explicit content length. {'Content-Length' : '0'} is wrong for a POST payload of "{}" with standard transfer encoding. It should be len("{}") == 2.

A zero content length only valid for chunked transfer encoding, which either requires header {"transfer-encoding": "chunked"} or encode_chunked=True.
History
Date User Action Args
2020-11-25 15:29:56christian.heimessetrecipients: + christian.heimes, paul.moore, ronaldoussoren, tim.golden, zach.ware, steve.dower, bhushan.shelke
2020-11-25 15:29:56christian.heimessetmessageid: <1606318196.38.0.474648269227.issue42417@roundup.psfhosted.org>
2020-11-25 15:29:56christian.heimeslinkissue42417 messages
2020-11-25 15:29:56christian.heimescreate