[issue2600] BindingHTTPConnectionWithTimeout and BindingHTTPHandlerWithTimeout
Antoine Pitrou added the comment: HTTPConnection now supports timeout and source_address parameters, so this is really out of date. Thanks for reporting, though! (see http://docs.python.org/dev/library/http.client.html#http.client.HTTPConnection) -- nosy: +pitrou resolution: - out of date stage: test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2600 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2600] BindingHTTPConnectionWithTimeout and BindingHTTPHandlerWithTimeout
Mark Lawrence breamore...@yahoo.co.uk added the comment: Pau, this isn't likely to be progressed unless you can provide a unit test and possibly doc patches as well. -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2600 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2600] BindingHTTPConnectionWithTimeout and BindingHTTPHandlerWithTimeout
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +orsenthil stage: - test needed versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2600 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2600] BindingHTTPConnectionWithTimeout and BindingHTTPHandlerWithTimeout
Changes by Daniel Diniz [EMAIL PROTECTED]: -- versions: +Python 2.6 -Python 2.4, Python 2.5 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2600 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2600] BindingHTTPConnectionWithTimeout and BindingHTTPHandlerWithTimeout
New submission from Pau Aliagas [EMAIL PROTECTED]: I wanted to use urllib2 with something as usual as binding to a given network interface and it was incredibly complex. I also did not like the usual propodes solution to timeout the connections: set the global socket timeour. I needed a different timeout for each connection. So I took my time, I learnt about httplib and urllib2 and made a patch to enhance both libraries. BindingHTTPConnectionWithTimeout extends HTTPConection with supports timeouts and a binding address. BindingHTTPHandlerWithTimeout extends HTTPHandler and basically uses the new http class provided. The patch is really simple and would make a great addition to the standard library. I've tried to follow the style amd copied similar methods, giving the due credits. I hope you find it useful and consider it for inclusion. -- components: Library (Lib) files: urllib2_util.py messages: 65215 nosy: pau severity: normal status: open title: BindingHTTPConnectionWithTimeout and BindingHTTPHandlerWithTimeout type: feature request versions: Python 2.4, Python 2.5 Added file: http://bugs.python.org/file9988/urllib2_util.py __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2600 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com