PUT with proxy-support
anand.shashwat at gmail.com
Thu Aug 25 07:07:50 EDT 2011
I want to make a PUT request.
I need some headers of my own ( certificates etc ) and I need to mandatorily
use a proxy.
Also the url is of the form http://www.xyz.com/abc and I don't have
permission to put data
on http://www.xyz.com while I do have permission to put data on
I tried httplib, httplib2, urllib2 with no avail.
I managed to do this via command line curl:
$ curl http:/xyz.com/testing/shashwat/test.txt -T test.txt -H "sw-version:
--proxy proxy.xyz.com:3128 -H "Content-Type:text/plain"
Is there a way to do it in python apart from using command line curl in
The machine is RHEL4 and is giving hard time installing pycurl.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list