Merge pull request #721 from karlcow/develop

adding clarification to the history API.
This commit is contained in:
Kenneth Reitz
2012-07-12 14:13:36 -07:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -386,7 +386,7 @@ of the Response object to track redirection. Let's see what Github does::
[<Response [301]>]
The :class:`Response.history` list contains a list of the
:class:`Request` objects that were created in order to complete the request.
:class:`Request` objects that were created in order to complete the request. The list is sorted from the oldest to the most recent request.
If you're using GET or OPTIONS, you can disable redirection handling with the
``allow_redirects`` parameter::
+1 -1
View File
@@ -660,7 +660,7 @@ class Response(object):
#: A list of :class:`Response <Response>` objects from
#: the history of the Request. Any redirect responses will end
#: up here.
#: up here. The list is sorted from the oldest to the most recent request.
self.history = []
#: The :class:`Request <Request>` that created the Response.