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 Alex.Willmer
Recipients Alex.Willmer, Mariatta, axitkhurana, demian.brecht, martin.panter, r.david.murray, serhiy.storchaka
Date 2021-03-02.21:36:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614720999.51.0.338296607718.issue23740@roundup.psfhosted.org>
In-reply-to
Content
First stab at characterising http.client.HTTPConnnection.send().

https://github.com/moreati/bpo-23740

This uses a webserver that returns request details, in the body of the response. Raw (TCP level) content is included. It shares a similar purpose to HTTP TRACE command. In principal the bytes that HTTPConection.send() writes will match to the bytes returned (after they're decapsulated from the JSON). I've not tested that aspect yet.

TODO
- further testing (verify round trip, bytes in = bytes out) 
- cover multiple Python versions
- cover cases such client manually setting Content-Length
History
Date User Action Args
2021-03-02 21:36:39Alex.Willmersetrecipients: + Alex.Willmer, r.david.murray, axitkhurana, martin.panter, serhiy.storchaka, demian.brecht, Mariatta
2021-03-02 21:36:39Alex.Willmersetmessageid: <1614720999.51.0.338296607718.issue23740@roundup.psfhosted.org>
2021-03-02 21:36:39Alex.Willmerlinkissue23740 messages
2021-03-02 21:36:39Alex.Willmercreate