]> granicus.if.org Git - python/commit
Fixes Issue 1401. When redirected, a possible POST get converted
authorFacundo Batista <facundobatista@gmail.com>
Thu, 7 Feb 2008 19:06:52 +0000 (19:06 +0000)
committerFacundo Batista <facundobatista@gmail.com>
Thu, 7 Feb 2008 19:06:52 +0000 (19:06 +0000)
commit86371d61b704958e68bed0f9937c6a1ff5fd766e
tree2a82d71b84bec8628dc47cd041275aee79344c55
parentb4ee4a16f4fc28d89ba9b139db6cbaace44fc47a
Fixes Issue 1401. When redirected, a possible POST get converted
to GET, so it loses its payload. So, it also must lose the
headers related to the payload (if it has no content any more,
it shouldn't indicate content length and type).
Lib/test/test_urllib2.py
Lib/urllib2.py