Denver Coneybeare <denver.coneybe...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue1673007> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com