From: Kenneth Reitz Date: Sun, 27 Nov 2011 16:29:52 +0000 (-0500) Subject: Set Response.sent to True X-Git-Tag: v0.8.4~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7b99f78192bdff62fad4f92039396c0dfbe4fb8;p=services%2Fpython-requests.git Set Response.sent to True Fixes #291 --- diff --git a/requests/models.py b/requests/models.py index 9ae95ca..dadaeff 100644 --- a/requests/models.py +++ b/requests/models.py @@ -446,6 +446,7 @@ class Request(object): retries=self.config.get('max_retries', 0), timeout=self.timeout, ) + self.sent = True except MaxRetryError, e: