From: Cory Benfield Date: Sat, 21 Mar 2015 16:27:21 +0000 (+0000) Subject: Expand on what 'elapsed' means. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54791d1970531cdb44d60e2f0abc186933f1a7ed;p=services%2Fpython-requests.git Expand on what 'elapsed' means. --- diff --git a/requests/models.py b/requests/models.py index 419cf0a..cb153aa 100644 --- a/requests/models.py +++ b/requests/models.py @@ -573,7 +573,11 @@ class Response(object): self.cookies = cookiejar_from_dict({}) #: The amount of time elapsed between sending the request - #: and the arrival of the response (as a timedelta) + #: and the arrival of the response (as a timedelta). + #: This property specifically measures the time taken between sending + #: the first byte of the request and finishing parsing the headers. It + #: is therefore unaffected by consuming the response content or the + #: value of the ``stream`` keyword argument. self.elapsed = datetime.timedelta(0) #: The :class:`PreparedRequest ` object to which this