I need to upload some data to a server using HTTP PUT in python. From my brief reading of the urllib2 docs, it only does HTTP POST. Is there any way to do an HTTP PUT in python?
I needed to solve this problem too a while back so that I could act as a client for a RESTful API.  I settled on httplib2 because it allowed me to send PUT and DELETE in addition to GET and POST.  Httplib2 is not part of the standard library but you can easily get it from the cheese shop.
Is there any way to do HTTP PUT in python