Hi, Here is a patch for httplib. I added a timeout value for httplib.HTTPConnection, please check. (diff - CVS 1.94) Zhang Yue 2004-12-14 -------------- next part -------------- Index: httplib.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/httplib.py,v retrieving revision 1.94 diff -r1.94 httplib.py 575c575 < def __init__(self, host, port=None, strict=None): --- > def __init__(self, host, port=None, strict=None, timeout=None): 580a581 > self.timeout = timeout 613a615,616 > if self.timeout: > self.sock.settimeout(self.timeout)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4