eshad / httplib2

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

httplib2 + http proxy gives 500 Internal Server Error #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

http = httplib2.Http(proxy_info = httplib2.ProxyInfo(3,
'insert_http_proxy', 80))

What is the expected output? What do you see instead?

Expected : Display the HTML Page

I see : socks.HTTPError: (500, 'Internal Server Error')

What version of the product are you using? On what operating system?

0.6.0, Ubuntu 9.1

Please provide any additional information below.

The http proxy works fine when configured in Firefox (Edit -> Preferences
-> Network -> Settings). It fails with HTTP Proxy (3) but works fine with
Socks 4/5 proxy (1,2).

Original issue reported on code.google.com by kirankon...@gmail.com on 25 May 2010 at 3:57

GoogleCodeExporter commented 9 years ago
could be that the http proxy did not like tunnelled http connections (CONNECT 
command).

Original comment by exob...@gmail.com on 27 Feb 2011 at 12:35

GoogleCodeExporter commented 9 years ago
See comment 9 on this other bug for a fixed socksipyt that has tunnelled and 
non tunnelled http support 
http://code.google.com/p/httplib2/issues/detail?id=38#c9

Original comment by exob...@gmail.com on 5 Mar 2011 at 2:49

GoogleCodeExporter commented 9 years ago

Original comment by joe.gregorio@gmail.com on 13 Jun 2011 at 4:51