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

2009-12-28 Thread Eldon Ziegler
Eldon Ziegler added the comment: The patch files for Python 2.6 and a test file are in the attached tar file. Both httplib.py and socket.py need to be patched now. httplib.HTTPConnection(host[, port[, strict[, timeout]]]) becomes httplib.HTTPConnection(host[, port[, strict[, timeout[, bindip

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

2008-10-02 Thread Eldon Ziegler
Eldon Ziegler <[EMAIL PROTECTED]> added the comment: Sounds good. Let me know if there is anything I can do to help. Eldon On Thu, 2008-10-02 at 18:17 +, Gregory P. Smith wrote: > Gregory P. Smith <[EMAIL PROTECTED]> added the comment: > > This is useful but as its

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

2008-09-26 Thread Eldon Ziegler
New submission from Eldon Ziegler <[EMAIL PROTECTED]>: I updated httplib.py, python 2.4, to be able to bind to a specific IP address when connecting to a remote site. conn = httplib.HTTPConnection('82.94.237.218', 80) will connect to '82.94.237.218' using one of t