Closed g2boojum closed 12 years ago
I assume from the question that you have tried it and it does not work? I expected gdata to support proxies.
Taking a closer look, it seems that it's choking on the authentication info in my https_proxy. I get the following:
Failed to authenticate: invalid literal for int() with base 10: 'XXXXXXXXX@proxyname.companyname.com'.
I currently have https_proxy="https://username:passwd@proxyname.companyname.com:80", and I'm trying to use the ClientLogin mechanism.
I wonder if the code parsing that proxy URL is assuming the value after the first colon will be the port number.
I think so.
It looks like proxy support works if I use:
https_proxy="https://proxyname.companyname.com:80" proxy_username="username" proxy_password="XXXXXXXXX"
That's a pain, but it's clearly an upstream problem.
Looks like this should have been fixed upstream some time ago:
https://code.google.com/p/gdata-python-client/issues/detail?id=414
It would be awesome if rst2blogger would do the right thing automatically if the http_proxy environmental variable is set.
That said, is there a simple non-automatic way to use rst2blogger through an http proxy?
Thanks!