[issue12327] in HTTPConnection the are len(body) and TypeError catch exception to detect if body is file like object, this hack do work with StringIO object
R. David Murray
report at bugs.python.org
Sun Apr 12 18:03:07 CEST 2015
R. David Murray added the comment:
Length computation is being dealt with in issue 23350.
----------
resolution: -> duplicate
stage: needs patch -> resolved
status: open -> closed
superseder: -> Content-length is incorrect when request body is a list or tuple
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12327>
_______________________________________
More information about the Python-bugs-list
mailing list