Martin Panter added the comment:

Actually, I do not think any “Expect: 100-continue” headers are explicitly sent 
by the Python standard library. The Python client does not support waiting for 
a “100 Continue” response; see Issue 1346874.

There is Issue 23740 opened about fixing or clarifying the various data types 
accepted by “http.client”.

On the other hand, the documentation for urlopen() says only bytes and 
iterables are supported. If mmap objects are being treated as file objects by 
urlopen() that is unexpected, and the documentation or implementation needs 
fixing there. Also, iterating a mmap() object is different from iterating 
either the equivalent bytearray() or file object, so there is something weird 
going on there.

----------
nosy: +vadmium

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5038>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to