Message250435
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? |
|
Date |
User |
Action |
Args |
2015-09-11 02:13:12 | martin.panter | set | recipients:
+ martin.panter, orsenthil, giampaolo.rodola, benjamin.peterson, eric.araujo, rosslagerwall, kasun |
2015-09-11 02:13:11 | martin.panter | set | messageid: <1441937591.95.0.784906467986.issue13559@psf.upfronthosting.co.za> |
2015-09-11 02:13:11 | martin.panter | link | issue13559 messages |
2015-09-11 02:13:11 | martin.panter | create | |
|