kennethreitz/requests — Issue #263: Timeout ignored when following redirects
Author: pennersr
Created: 2011-11-14 08:59:15+00:00
State: open

To reproduce, add a print to requests.models.Request.send():

def send(self, anyway=False, prefetch=False):
"""...."""
print "send with timeout %s" % self.timeout

Then:

>>> requests.head('http://httpbin.org/redirect/3', timeout=10)
send with timeout 10
send with timeout None
send with timeout None
send with timeout None

I expected a timeout of 10 everywhere, not None.