Closed GoogleCodeExporter closed 8 years ago
Could you clarify what type of proxy you're talking about, and specifically
which FS(es) you think should have proxy support added?
Original comment by gc...@loowis.durge.org
on 22 Jun 2013 at 12:11
I am specifically thinking about a HTTP proxy (e.g. fscat|fsinfo
http://example.org/).
Original comment by kl...@seistrup.dk
on 22 Jun 2013 at 12:26
In that case it's HTTPFS that needs proxy support. However HTTPFS internally
uses urllib2.urlopen, and according to the documentation it should work
automatically with proxies if the relevant environment variable is set -
http://docs.python.org/2/library/urllib2.html#urllib2.urlopen
Although if your proxy needs authentication, it'll need some small
modifications to HTTPFS, as well as the required 'plumbing' to
fscat/fsinfo/etc. -
http://bytes.com/topic/python/answers/22918-proxy-authentication-using-urllib2
Original comment by gc...@loowis.durge.org
on 22 Jun 2013 at 12:49
This looks great, thanks for the link.
Original comment by kl...@seistrup.dk
on 22 Jun 2013 at 12:55
Was the information in the docs a good enough solution?
Original comment by willmcgugan
on 9 Sep 2013 at 8:46
Yes, it was fine. Cheers.
Original comment by kl...@seistrup.dk
on 10 Sep 2013 at 4:31
Original comment by willmcgugan
on 10 Sep 2013 at 8:31
Original issue reported on code.google.com by
kl...@seistrup.dk
on 19 Jun 2013 at 12:49