[issue3972] Add Option to Bind to a Local IP Address in httplib.py

Gregory P. Smith report at bugs.python.org
Thu Oct 2 20:17:40 CEST 2008


Gregory P. Smith <greg at krypto.org> added the comment:

This is useful but as its a feature we won't be able to add it until
2.7/3.1.  Assigning to me to make sure it happens.

Until then, the approach I suggest is to subclass httplib.HTTPConnection
and HTTPSConnection to add your own variants that do bind before connecting.

----------
assignee:  -> gregory.p.smith
nosy: +gregory.p.smith
priority:  -> normal
versions:  -Python 2.4, Python 2.5, Python 2.6, Python 3.0

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


More information about the Python-bugs-list mailing list