Message145283
Hey,
I would like to request the support of other HTTP methods (other than GET and POST) in urllib.request. While it’s actually simple enough to override the Request class to add such a possibility, I think it is far too simple to leave it out of the standard library.
I’ve attached a patch that adds the functionality with a simple `method` property. The `get_method` function then simply looks if a custom method was entered, and otherwise falls back to the default behaviour.
Thanks a lot!
Patrick Westerhoff
Btw. Being a Git user, I hope the patch is actually useful ;) |
|
Date |
User |
Action |
Args |
2011-10-09 22:26:17 | poke | set | recipients:
+ poke |
2011-10-09 22:26:17 | poke | set | messageid: <1318199177.09.0.985752068879.issue13142@psf.upfronthosting.co.za> |
2011-10-09 22:26:16 | poke | link | issue13142 messages |
2011-10-09 22:26:16 | poke | create | |
|