Ode to Urllib2
ronwalf at umd.edu
Thu Oct 14 19:23:21 CEST 2004
Ron Alford wrote:
> Oh Urllib2,
> When I ask, you GET, when I tell, you POST.
> But I am about to lose my HEAD, for these are my only OPTIONS.
> What about my need to PUT up new things, DELETE the old, or TRACE my steps?
And to reply to my own post, it is fixed (sorta) in Python 2.4.
You only have to subclass urllib2.Request and override .get_method (ick!).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 261 bytes
Desc: OpenPGP digital signature
More information about the Python-list