[docs] [issue11448] docs for HTTPConnection.set_tunnel are ambiguous

Senthil Kumaran report at bugs.python.org
Wed Mar 9 03:39:54 CET 2011


Senthil Kumaran <orsenthil at gmail.com> added the comment:

I am not able to understand what you mean by 'endpoint'.

Actually, when using tunnels people understand that they often 'tunnel through' the proxy server and here is an example code from the tests which is going to use the set_tunnel method.

ph = urllib.request.ProxyHandler(dict(https="proxy.example.com:3128"))
o.add_handler(ph)

It is the proxy server and port. (Is 3128 called the endpoint of proxy?)

Could you please provide some more information on your interpretation and the behavior you observed?

----------
assignee: docs at python -> orsenthil
nosy: +orsenthil

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11448>
_______________________________________


More information about the docs mailing list