]> granicus.if.org Git - python/commit
Fix Issue1595365 - Adding the req.headers after the un-redirect headers have
authorSenthil Kumaran <orsenthil@gmail.com>
Mon, 27 Sep 2010 01:26:03 +0000 (01:26 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Mon, 27 Sep 2010 01:26:03 +0000 (01:26 +0000)
commit42ef4b1f4c8f07357f7c4e9cb8470f57365b0ffa
tree1d2fa130f808aaa59e11354bf1445cc9d12348c3
parentcb159881148812b6a842748ecc8c820402e9df65
Fix Issue1595365 - Adding the req.headers after the un-redirect headers have
been added. This helps in accidental overwritting of User-Agent header to
default value. To preserve the old behavior, only headers not in unredirected
headers will be updated.
Lib/test/test_urllib2net.py
Lib/urllib/request.py