[issue25570] urllib.request > Request.add_header("abcd", "efgh") fails with character ":" in first parameter string

R. David Murray report at bugs.python.org
Fri Nov 6 16:26:06 EST 2015


R. David Murray added the comment:

By the way, that your application worked before was pure luck, here is what httplib sends in 3.4 given your test program:

POST / HTTP/1.1
Accept-Encoding: identity
User-Agent: Python-urllib/3.4
Connection: close
Host: xxxx.xxxx.com:9999
Content-Length: 21
Content-Type:: application/x-www-form-urlencoded;charset=utf-8
Content-Type: application/x-www-form-urlencoded

----------

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


More information about the Python-bugs-list mailing list