[Web-SIG] Making HEAD request using urllib2 module
John J Lee
jjl at pobox.com
Wed Sep 8 11:09:46 CEST 2004
On Tue, 7 Sep 2004, Lloyd Kvam wrote:
> On Mon, 2004-09-06 at 17:44, John J Lee wrote:
> > I don't like the idea of a subclass just for HEAD requests (but then I
> > don't much like the Request class at all). How about an additional
> > optional arg to the Request constructor, named 'method', instead?
> I started down the subclass path on the assumption that overriding
> get_method was all that was necessary and I could avoid changing the
> urllib2 module.
Right. So, are you going to upload a modified version, then? :-)
More information about the Web-SIG