Hi,
On 12/30/2011 12:01 PM, Roy Smith wrote:
Is there some way to make urllib2.urlopen() perform a DELETE instead of a GET
or POST?
I'm hoping I don't have to dip way down into httplib. I've got an
application test framework built on top of urllib2. It makes heavy use of
HTTPCookieProcessor. If I need to use the httplib calls directly, I'll have to
re-implement a lot of that machinery.
You might want to look:
https://github.com/dougsland/rhev3-restapi-scripts/blob/master/sample-delete.py
--
Cheers
Douglas
--
http://mail.python.org/mailman/listinfo/python-list