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 benjamin.peterson, eric.araujo, giampaolo.rodola, kasun, martin.panter, orsenthil, rosslagerwall
Date 2015-09-11.02:13:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441937591.95.0.784906467986.issue13559@psf.upfronthosting.co.za>
In-reply-to
Content
The multiple personalities of HTTPConnection.send() and friends is a bit of a can of worms. I suggest working on Issue 23740 to get an idea of what kinds of file objects are meant to be supported, and what things may work by accident and be used in the real world.

For instance, is it possible to manually set Content-Length, and say supply a GzipFile reader, or file object positioned halfway through the file? How does this interact with the socket.sendfile() call?
History
Date User Action Args
2015-09-11 02:13:12martin.pantersetrecipients: + martin.panter, orsenthil, giampaolo.rodola, benjamin.peterson, eric.araujo, rosslagerwall, kasun
2015-09-11 02:13:11martin.pantersetmessageid: <1441937591.95.0.784906467986.issue13559@psf.upfronthosting.co.za>
2015-09-11 02:13:11martin.panterlinkissue13559 messages
2015-09-11 02:13:11martin.pantercreate