This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alvinchang
Recipients alvinchang, martin.panter, orsenthil, ragdoll.guo, xtreak
Date 2019-03-13.06:05:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552457154.59.0.528672238961.issue36276@roundup.psfhosted.org>
In-reply-to
Content
I am also seeing the same issue with urllib3 

import urllib3

pool_manager = urllib3.PoolManager()

host = "localhost:7777?a=1 HTTP/1.1\r\nX-injected: header\r\nTEST: 123"
url = "http://" + host + ":8080/test/?test=a"

try:
    info = pool_manager.request('GET', url).info()
    print(info)
except Exception:
    pass

nc -l localhost 7777
GET /?a=1 HTTP/1.1
X-injected: header
TEST: 123:8080/test/?test=a HTTP/1.1
Host: localhost:7777
Accept-Encoding: identity
History
Date User Action Args
2019-03-13 06:05:54alvinchangsetrecipients: + alvinchang, orsenthil, martin.panter, xtreak, ragdoll.guo
2019-03-13 06:05:54alvinchangsetmessageid: <1552457154.59.0.528672238961.issue36276@roundup.psfhosted.org>
2019-03-13 06:05:54alvinchanglinkissue36276 messages
2019-03-13 06:05:54alvinchangcreate