[issue11082] ValueError: Content-Length should be specified

Senthil Kumaran report at bugs.python.org
Thu Feb 10 18:06:13 CET 2011


Senthil Kumaran <orsenthil at gmail.com> added the comment:

Victor - It does not change the API. Only that the ValueError message which had a confusing message that "for iterable data of type <class 'str'> " is made clear that POST should not be a str.
Yes, a TypeError instead of ValueError would be more appropriate here.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11082>
_______________________________________


More information about the Python-bugs-list mailing list