[issue1673007] urllib2 requests history + HEAD support

Denver Coneybeare report at bugs.python.org
Sun Mar 27 21:41:40 CEST 2011


Denver Coneybeare <denver.coneybeare at gmail.com> added the comment:

I decided to take a look at this old, forgotten issue and propose an updated patch.  I like the submitter's idea that urllib.Request.__init__() should take a "method" parameter to override the return value of get_method().  I've created and attached a patch (issue1673007_urllib_Request_method_v1.patch) which implements this functionality, adds unit tests, and updates the documentation.

----------
nosy: +denversc
Added file: http://bugs.python.org/file21432/issue1673007_urllib_Request_method_v1.patch

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


More information about the Python-bugs-list mailing list