[issue5038] urrlib2/httplib doesn't reset file position between requests
Martin Panter
report at bugs.python.org
Sun Sep 2 09:32:33 EDT 2018
Martin Panter <vadmium+py at gmail.com> added the comment:
Here is a demonstration script in case it helps. I haven’t tested it with versions before Python 2.6.
Older versions send “Content-Length: 11”, but leave the server hanging trying to read the data. Newer versions (I presume since Issue 12319, 3.6+) send a valid HTTP 1.1 chunked request, but with empty data.
----------
Added file: https://bugs.python.org/file47780/auth-mmap.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue5038>
_______________________________________
More information about the Python-bugs-list
mailing list