]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Document the HTTPResponse.effective_url attribute.
authorBen Darnell <ben@bendarnell.com>
Mon, 4 Nov 2013 13:33:40 +0000 (08:33 -0500)
committerBen Darnell <ben@bendarnell.com>
Fri, 8 Nov 2013 00:00:33 +0000 (19:00 -0500)
tornado/httpclient.py

index cf503c0d3ceca70dbf2358fed16bcec601aa75e2..b58a834854936547dbdba904f7697486b113bc52 100644 (file)
@@ -385,6 +385,9 @@ class HTTPResponse(object):
 
     * headers: `tornado.httputil.HTTPHeaders` object
 
+    * effective_url: final location of the resource after following any
+      redirects
+
     * buffer: ``cStringIO`` object for response body
 
     * body: response body as string (created on demand from ``self.buffer``)