From 54791d1970531cdb44d60e2f0abc186933f1a7ed Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Sat, 21 Mar 2015 16:27:21 +0000 Subject: [PATCH] Expand on what 'elapsed' means. --- requests/models.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/requests/models.py b/requests/models.py index 419cf0a8..cb153aa5 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