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 serhiy.storchaka
Recipients demian.brecht, nikratio, orsenthil, serhiy.storchaka
Date 2014-11-18.08:49:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416300544.78.0.850619940033.issue22095@psf.upfronthosting.co.za>
In-reply-to
Content
If call _get_hostport() in set_tunnel() then it should be removed in _tunnel().

As for tests, it would be better do not rely on implementation details. Instead you can monkey-patch the send() method of of HTTPConnection instance and check passed argument.
History
Date User Action Args
2014-11-18 08:49:04serhiy.storchakasetrecipients: + serhiy.storchaka, orsenthil, nikratio, demian.brecht
2014-11-18 08:49:04serhiy.storchakasetmessageid: <1416300544.78.0.850619940033.issue22095@psf.upfronthosting.co.za>
2014-11-18 08:49:04serhiy.storchakalinkissue22095 messages
2014-11-18 08:49:04serhiy.storchakacreate