This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author m1kes
Recipients docs@python, m1kes, orsenthil, rfk
Date 2013-02-08.10:18:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360318733.71.0.111066004951.issue11448@psf.upfronthosting.co.za>
In-reply-to
Content
I thought the same as Ryan when reading the API. The best way would have been to call "set_tunnel" -> "set_proxy" and to implement the behaviour you expect on this: setting a proxy. There are some more places at this code which are not quite clear eg:

def putheader(self, header, *values):
  """Send a request header line to the server.

Here the methodname "putheader" is ok but the documentation is misleading: this just adds a new header-line to the buffer, it won't send it directly. But that's the problem with naming in APIs: once it's in the code you won't get it changed that fast..
History
Date User Action Args
2013-02-08 10:18:53m1kessetrecipients: + m1kes, orsenthil, rfk, docs@python
2013-02-08 10:18:53m1kessetmessageid: <1360318733.71.0.111066004951.issue11448@psf.upfronthosting.co.za>
2013-02-08 10:18:53m1keslinkissue11448 messages
2013-02-08 10:18:53m1kescreate