PUT with proxy-support

Laszlo Nagy gandalf at shopzeus.com
Thu Aug 25 07:52:11 EDT 2011


> 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 
> <http://xyz.com/testing/shashwat/test.txt> -T test.txt -H "sw-version: 
> 1.0" -H 
> "CA-Cert-Auth:v=1;a=yxyz.prod;h=10.10.0.1;t=1316594650;s=.AeEYJMMfElN74fnWD3GlXJ4J.1KiQFg--" 
> --proxy proxy.xyz.com:3128 <http://proxy.xyz.com:3128> -H 
> "Content-Type:text/plain"
If you can do it with command line curl then probably you can do it with 
pycurl.

http://pycurl.sourceforge.net/

Best,

    Laszlo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110825/236fe859/attachment-0001.html>


More information about the Python-list mailing list