From: Kenneth Reitz Date: Mon, 17 Dec 2012 07:52:39 +0000 (-0500) Subject: actually honor details X-Git-Tag: v1.0.0~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b5aed78d02a3bd3090e8926bfd20d4d7edc1e88;p=services%2Fpython-requests.git actually honor details --- diff --git a/HISTORY.rst b/HISTORY.rst index 941d69f..d2785aa 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -10,6 +10,7 @@ History - Switch to Apache 2.0 license - Connection Adapters - Standard library logging +- Reponse.iter_json 0.14.2 (2012-10-27) diff --git a/requests/sessions.py b/requests/sessions.py index 788e4a7..7dc6a75 100644 --- a/requests/sessions.py +++ b/requests/sessions.py @@ -243,7 +243,7 @@ class Session(SessionMixin): req.auth = auth req.cookies = cookies # TODO: move to attached - req.allow_redirects = allow_redirects + # req.allow_redirects = allow_redirects req.proxies = proxies req.hooks = hooks @@ -251,7 +251,7 @@ class Session(SessionMixin): # TODO: prepare cookies. - resp = self.send(prep) + resp = self.send(prep, prefetch, timeout, verify, cert) # Redirect resolving generator. gen = self.resolve_redirects(resp, req, prefetch, timeout, verify, cert)