[Web-SIG] [RFC] urllib2 requests history + HEAD support
Senthil Kumaran
orsenthil at gmail.com
Tue Dec 22 01:43:32 CET 2009
On Mon, Dec 21, 2009 at 06:24:38PM +0000, Henry Precheur wrote:
> On Sun, Dec 20, 2009 at 11:38:19PM +0530, Senthil Kumaran wrote:
> > There was a feature request to add support for HEAD requests.
>
> It would be nice to have other methods too, like PUT & DELETE:
>
> http://tools.ietf.org/html/rfc2616#page-52
Yes, I agree. Methods like PUT & DELETE also makes sense in urllib2.
Folks currently wrap those around httplib.
HEAD can be implement in a straight forward way using httplib, but if
Request has a method parameter, which takes HEAD,PUT or DELETE and
behaves accordingly, that would make it complete.
And as expected, many voted down -1 on history support. ( I guess
web-sig defaults the reply-to To: rather than List:)
Thanks,
--
Senthil
"I have a bone to pick, and a few to break."
-- Anonymous
More information about the Web-SIG
mailing list