[issue1401] urllib2 302 POST

Andres Riancho report at bugs.python.org
Fri Nov 9 16:10:07 CET 2007


Andres Riancho added the comment:

As I said in my original bug report, if you don't remove the
content-length header or add the data, you are sending an invalid request:

====START Request=====
GET http://f00/1.php HTTP/1.1
Content-length: 63
Accept-encoding: identity
Accept: */*
User-agent: w3af.sourceforge.net
Host: f00
Content-type: application/x-www-form-urlencoded


==== END REQUEST ===

I opened this bug report because this is a bug, not because i'm a RFC
purist. I I have time, I'll test the urllib2 patch I coded yesterday and
submit it for revision.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1401>
__________________________________


More information about the Python-bugs-list mailing list