[New-bugs-announce] [issue11448] docs for HTTPConnection.set_tunnel are ambiguous
report at bugs.python.org
Wed Mar 9 03:08:49 CET 2011
New submission from Ryan Kelly <ryan at rfk.id.au>:
The docs for HTTPConnection.set_tunnel(host,port) are ambiguous. They simply say "Set the host and the port for HTTP Connect Tunnelling". But should I specify the address of the server *through* which I want to tunnel, or the address of the *endpoint* of the tunnel?
Turns out it's the latter, but I just wasted an hour "debugging" thinking it was the former :-(
Attached is a simple doc patch to try to clarify this issue.
assignee: docs at python
nosy: docs at python, rfk
title: docs for HTTPConnection.set_tunnel are ambiguous
versions: Python 3.3
Added file: http://bugs.python.org/file21056/set_tunnel_doc.diff
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce