Salnet007 / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

Proxy support #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add support for proxies.

Original issue reported on code.google.com by joe.gregorio@gmail.com on 31 Jul 2007 at 1:16

GoogleCodeExporter commented 9 years ago
Here's a patch for the 31-07-2007 release that adds proxy support.

Proxy types supported: http, sock4 and sock5
Requires: http://socksipy.sourceforge.net/

example usage:
import socks
httlib2.Http(proxy_type=socks.PROXY_TYPE_SOCKS5, proxy_host='the.proxy.lan', 
proxy_port=3128)

Original comment by Wolphie on 18 Aug 2007 at 2:46

Attachments:

GoogleCodeExporter commented 9 years ago
Will it be merged into the main branch?

Original comment by Morg...@gmail.com on 1 Sep 2007 at 5:53

GoogleCodeExporter commented 9 years ago
Sorry, just started a new job and haven't had time to apply this. I'll set 
aside some
httplib2 time this weekend.

Original comment by joe.gregorio@gmail.com on 1 Sep 2007 at 4:45

GoogleCodeExporter commented 9 years ago
Fixed. Now if you have the socks library installed you can use a proxy. Docs 
still to
be updated. Hand tested, haven't rolled anything into the unit tests.

Original comment by joe.gregorio@gmail.com on 23 Oct 2007 at 2:26

GoogleCodeExporter commented 9 years ago

Original comment by joe.gregorio@gmail.com on 23 Oct 2007 at 2:26

GoogleCodeExporter commented 9 years ago
Fixed as of version 257.

Original comment by joe.gregorio@gmail.com on 23 Oct 2007 at 2:31

GoogleCodeExporter commented 9 years ago

Original comment by joe.gregorio@gmail.com on 6 Sep 2008 at 4:13