[issue12455] urllib2 Request() forces capitalize() on header names, breaking some requests

R. David Murray report at bugs.python.org
Thu Jun 30 21:50:53 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

Well, judging by your test it isn't capitalize that's the issue.  capitalize produces Content-md5, whereas debug is showing urllib2 sending Content-Md5.  So something else is massaging the header name on send.

----------

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


More information about the Python-bugs-list mailing list