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
--
http://mail.python.org/mailman/listinfo/python-list