[issue9845] Allow changing the method in urllib.request.Request

2012-02-29 Thread Éric Araujo
Éric Araujo added the comment: Python 3.3 supports this. -- resolution: -> duplicate stage: patch review -> committed/rejected status: open -> closed superseder: -> urllib2 requests history + HEAD support versions: +Python 3.3 -Python 3.2 ___ Pytho

[issue9845] Allow changing the method in urllib.request.Request

2010-09-20 Thread Éric Araujo
Éric Araujo added the comment: +1 on the idea and code patch. Needs test and doc update. -- nosy: +eric.araujo stage: -> patch review versions: +Python 3.2 -Python 3.3 ___ Python tracker _

[issue9845] Allow changing the method in urllib.request.Request

2010-09-13 Thread Tarek Ziadé
Tarek Ziadé added the comment: sorry - Removed the assignment (the name is not followed by *) -- assignee: orsenthil -> ___ Python tracker ___ __

[issue9845] Allow changing the method in urllib.request.Request

2010-09-13 Thread Tarek Ziadé
New submission from Tarek Ziadé : Right now you have to override Request or patch its get_method() method to be able to send HTTP requests where the method is not GET or POST. This is making some assumptions on what the users wants to do with the request. The way get_method guesses the method