In my script, requests.get never returns:
requests.get
import requests print (\"requesting..\") # This call never returns! r = requests.get( \"http://w
What is the default timeout that get uses?
The default timeout is None, which means it'll wait (hang) until the connection is closed.
None
What happens when you pass in a timeout value?
r = requests.get( 'http://www.justdial.com', proxies={'http': '222.255.169.74:8080'}, timeout=5 )