diff options
| author | jcgregorio <devnull@localhost> | 2007-03-08 21:59:04 +0000 |
|---|---|---|
| committer | jcgregorio <devnull@localhost> | 2007-03-08 21:59:04 +0000 |
| commit | cde4f09e150ba2dab89e190bc3dbed7d3ca7bbfb (patch) | |
| tree | 7ec88f9706e13cf0bf27adc26c0c075ed6e40c20 /ref/response-objects.html | |
| parent | 07a9a4aa4cb78ad716d55db5beffd7f2dbe1cbcc (diff) | |
| download | httplib2-cde4f09e150ba2dab89e190bc3dbed7d3ca7bbfb.tar.gz | |
Documented changes in fixing bug 1597381 Map exceptions to status codes
Diffstat (limited to 'ref/response-objects.html')
| -rw-r--r-- | ref/response-objects.html | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/ref/response-objects.html b/ref/response-objects.html index 28e585b..0b78a16 100644 --- a/ref/response-objects.html +++ b/ref/response-objects.html @@ -61,32 +61,32 @@ to header values. In addition to the dict methods a Response object also has: <P> -<dl><dt><b><tt id='l2h-20' xml:id='l2h-20' class="member">fromcache</tt></b></dt> +<dl><dt><b><tt id='l2h-23' xml:id='l2h-23' class="member">fromcache</tt></b></dt> <dd> If <code>true</code> the the response was returned from the cache. </dl> <P> -<dl><dt><b><tt id='l2h-21' xml:id='l2h-21' class="member">version</tt></b></dt> +<dl><dt><b><tt id='l2h-24' xml:id='l2h-24' class="member">version</tt></b></dt> <dd> The version of HTTP that the server supports. A value of 11 means '1.1'. </dl> <P> -<dl><dt><b><tt id='l2h-22' xml:id='l2h-22' class="member">status</tt></b></dt> +<dl><dt><b><tt id='l2h-25' xml:id='l2h-25' class="member">status</tt></b></dt> <dd> The numerical HTTP status code returned in the response. </dl> <P> -<dl><dt><b><tt id='l2h-23' xml:id='l2h-23' class="member">reason</tt></b></dt> +<dl><dt><b><tt id='l2h-26' xml:id='l2h-26' class="member">reason</tt></b></dt> <dd> The human readable component of the HTTP response status code. </dl> <P> -<dl><dt><b><tt id='l2h-24' xml:id='l2h-24' class="member">previous</tt></b></dt> +<dl><dt><b><tt id='l2h-27' xml:id='l2h-27' class="member">previous</tt></b></dt> <dd> If redirects are followed then the <tt class="class">Response</tt> object returned is just for the very last HTTP request and <var>previous</var> points to @@ -101,7 +101,11 @@ contains the URI that was ultimately requested. This is useful if redirects were encountered, you can determine the ultimate URI that the request was sent to. All Response objects contain this key value, including <code>previous</code> responses so you can determine the entire -chain of redirects. +chain of redirects. If <tt class="member">Http.force_exception_to_status_code</tt> is <code>True</code> +and the number of redirects has exceeded the number of allowed number +of redirects then the <tt class="class">Response</tt> object will report the error +in the status code, but the complete chain of previous responses will +still be in tact. <P> @@ -138,7 +142,7 @@ chain of redirects. </div> </div> <hr /> -<span class="release-info">Release 0.2, documentation updated on July 2, 2006.</span> +<span class="release-info">Release 0.3, documentation updated on Mar 8, 2007.</span> </DIV> <!--End of Navigation Panel--> |
