Updated docs for 'follow_redirects'
diff --git a/ref/http-objects.html b/ref/http-objects.html
index 0bcce37..f09715a 100644
--- a/ref/http-objects.html
+++ b/ref/http-objects.html
@@ -10,27 +10,28 @@
<link rel="prev" href="module-httplib2.html" />
<link rel="parent" href="module-httplib2.html" />
<link rel="next" href="cache-objects.html" />
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name='aesop' content='information' />
<title>1.1.1 Http Objects</title>
</head>
<body>
-<DIV CLASS="navigation">
+<div class="navigation">
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="1.1 httplib2 A comprehensive"
href="module-httplib2.html"><img src='previous.png'
- border='0' height='32' alt='Previous Page' width='32' /></A></td>
+ border='0' height='32' alt='Previous Page' width='32' /></a></td>
<td class='online-navigation'><a rel="parent" title="1.1 httplib2 A comprehensive"
href="module-httplib2.html"><img src='up.png'
- border='0' height='32' alt='Up One Level' width='32' /></A></td>
-<td class='online-navigation'><a rel="next" title="1.1.2 Cache Objects"
+ border='0' height='32' alt='Up one Level' width='32' /></a></td>
+<td class='online-navigation'><a rel="next" title="1.1.2 cache Objects"
href="cache-objects.html"><img src='next.png'
- border='0' height='32' alt='Next Page' width='32' /></A></td>
+ border='0' height='32' alt='Next Page' width='32' /></a></td>
<td align="center" width="100%">The httplib2 Library</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
href="contents.html"><img src='contents.png'
- border='0' height='32' alt='Contents' width='32' /></A></td>
+ border='0' height='32' alt='Contents' width='32' /></a></td>
<td class='online-navigation'><img src='blank.png'
border='0' height='32' alt='' width='32' /></td>
<td class='online-navigation'><img src='blank.png'
@@ -38,26 +39,26 @@
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
-<a class="sectref" rel="prev" href="module-httplib2.html">1.1 httplib2 A comprehensive</A>
+<a class="sectref" rel="prev" href="module-httplib2.html">1.1 httplib2 A comprehensive</a>
<b class="navlabel">Up:</b>
-<a class="sectref" rel="parent" href="module-httplib2.html">1.1 httplib2 A comprehensive</A>
+<a class="sectref" rel="parent" href="module-httplib2.html">1.1 httplib2 A comprehensive</a>
<b class="navlabel">Next:</b>
-<a class="sectref" rel="next" href="cache-objects.html">1.1.2 Cache Objects</A>
+<a class="sectref" rel="next" href="cache-objects.html">1.1.2 Cache Objects</a>
</div>
<hr /></div>
-</DIV>
+</div>
<!--End of Navigation Panel-->
-<H2><A NAME="SECTION002110000000000000000"></A>
-<A NAME="http-objects"></A>
-<BR>
+<h2><a name="SECTION002110000000000000000"></a>
+<a name="http-objects"></a>
+<br>
1.1.1 Http Objects
-</H2>
+</h2>
-<P>
+<p>
Http objects have the following methods:
-<P>
+<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><tt id='l2h-14' xml:id='l2h-14' class="method">request</tt></b>(</nobr></td>
<td><var>uri, </var><big>[</big><var>method="GET", body=None, headers=None, redirections=DEFAULT_MAX_REDIRECTS</var><big>]</big><var></var>)</td></tr></table></dt>
@@ -65,27 +66,27 @@
Performs a single HTTP request.
The <var>uri</var> is the URI of the HTTP resource and can begin with either <code>http</code> or <code>https</code>. The value of <var>uri</var> must be an absolute URI.
-<P>
+<p>
The <var>method</var> is the HTTP method to perform, such as <code>GET</code>, <code>POST</code>, <code>DELETE</code>, etc. There is no restriction
on the methods allowed.
-<P>
+<p>
The <var>body</var> is the entity body to be sent with the request. It is a string
object.
-<P>
+<p>
Any extra headers that are to be sent with the request should be provided in the
<var>headers</var> dictionary.
-<P>
+<p>
The maximum number of redirect to follow before raising an exception is <var>redirections</var>. The default is 5.
-<P>
+<p>
The return value is a tuple of (response, content), the first being and instance of the
<tt class="class">Response</tt> class, the second being a string that contains the response entity body.
</dl>
-<P>
+<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><tt id='l2h-15' xml:id='l2h-15' class="method">add_credentials</tt></b>(</nobr></td>
<td><var>name, password, </var><big>[</big><var>domain=None</var><big>]</big><var></var>)</td></tr></table></dt>
@@ -97,7 +98,7 @@
be used to try to satisfy every HTTP 401 challenge.
</dl>
-<P>
+<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><tt id='l2h-16' xml:id='l2h-16' class="method">add_certificate</tt></b>(</nobr></td>
<td><var>key, cert, domain</var>)</td></tr></table></dt>
@@ -107,7 +108,7 @@
file that contains your private key. <var>certfile</var> is a PEM formatted certificate chain file.
</dl>
-<P>
+<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><tt id='l2h-17' xml:id='l2h-17' class="method">clear_credentials</tt></b>(</nobr></td>
<td><var></var>)</td></tr></table></dt>
@@ -115,27 +116,38 @@
Remove all the names and passwords used for authentication.
</dl>
-<P>
-<dl><dt><b><tt id='l2h-18' xml:id='l2h-18' class="member">follow_all_redirects</tt></b></dt>
+<p>
+<dl><dt><b><tt id='l2h-18' xml:id='l2h-18' class="member">follow_redirects</tt></b></dt>
+<dd>
+If <code>True</code>, which is the default, safe redirects are followed, where
+safe means that the client is only doing a <code>GET</code> or <code>HEAD</code> on the
+URI to which it is being redirected. If <code>False</code> then no redirects are followed.
+Note that a False 'follow_redirects' takes precedence over a True 'follow_all_redirects'.
+Another way of saying that is for 'follow_all_redirects' to have any affect, 'follow_redirects'
+must by True.
+</dl>
+
+<p>
+<dl><dt><b><tt id='l2h-19' xml:id='l2h-19' class="member">follow_all_redirects</tt></b></dt>
<dd>
If <code>False</code>, which is the default, only safe redirects are followed, where
safe means that the client is only doing a <code>GET</code> or <code>HEAD</code> on the
URI to which it is being redirected. If <code>True</code> then all redirects are followed.
</dl>
-<P>
-<dl><dt><b><tt id='l2h-19' xml:id='l2h-19' class="member">force_exception_to_status_code</tt></b></dt>
+<p>
+<dl><dt><b><tt id='l2h-20' xml:id='l2h-20' class="member">force_exception_to_status_code</tt></b></dt>
<dd>
If <code>True</code>, which is the default, then no <tt class="module">httplib2</tt> exceptions will be thrown. Instead,
those error conditions will be turned into <tt class="class">Response</tt> objects
that will be returned normally.
-<P>
+<p>
If <code>False</code>, then exceptions will be thrown.
</dl>
-<P>
-<dl><dt><b><tt id='l2h-20' xml:id='l2h-20' class="member">ignore_etag</tt></b></dt>
+<p>
+<dl><dt><b><tt id='l2h-21' xml:id='l2h-21' class="member">ignore_etag</tt></b></dt>
<dd>
Defaults to <code>False</code>. If <code>True</code>, then any etags present in the cached response
are ignored when processing the current request, i.e. httplib2 does <strong>not</strong> use
@@ -143,26 +155,26 @@
is mainly to deal with broken servers which supply an etag, but change it capriciously.
</dl>
-<P>
+<p>
-<DIV CLASS="navigation">
+<div class="navigation">
<div class='online-navigation'>
<p></p><hr />
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="1.1 httplib2 A comprehensive"
href="module-httplib2.html"><img src='previous.png'
- border='0' height='32' alt='Previous Page' width='32' /></A></td>
+ border='0' height='32' alt='Previous Page' width='32' /></a></td>
<td class='online-navigation'><a rel="parent" title="1.1 httplib2 A comprehensive"
href="module-httplib2.html"><img src='up.png'
- border='0' height='32' alt='Up One Level' width='32' /></A></td>
-<td class='online-navigation'><a rel="next" title="1.1.2 Cache Objects"
+ border='0' height='32' alt='Up one Level' width='32' /></a></td>
+<td class='online-navigation'><a rel="next" title="1.1.2 cache Objects"
href="cache-objects.html"><img src='next.png'
- border='0' height='32' alt='Next Page' width='32' /></A></td>
+ border='0' height='32' alt='Next Page' width='32' /></a></td>
<td align="center" width="100%">The httplib2 Library</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
href="contents.html"><img src='contents.png'
- border='0' height='32' alt='Contents' width='32' /></A></td>
+ border='0' height='32' alt='Contents' width='32' /></a></td>
<td class='online-navigation'><img src='blank.png'
border='0' height='32' alt='' width='32' /></td>
<td class='online-navigation'><img src='blank.png'
@@ -170,17 +182,17 @@
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
-<a class="sectref" rel="prev" href="module-httplib2.html">1.1 httplib2 A comprehensive</A>
+<a class="sectref" rel="prev" href="module-httplib2.html">1.1 httplib2 A comprehensive</a>
<b class="navlabel">Up:</b>
-<a class="sectref" rel="parent" href="module-httplib2.html">1.1 httplib2 A comprehensive</A>
+<a class="sectref" rel="parent" href="module-httplib2.html">1.1 httplib2 A comprehensive</a>
<b class="navlabel">Next:</b>
-<a class="sectref" rel="next" href="cache-objects.html">1.1.2 Cache Objects</A>
+<a class="sectref" rel="next" href="cache-objects.html">1.1.2 Cache Objects</a>
</div>
</div>
<hr />
<span class="release-info">Release 0.3, documentation updated on Mar 8, 2007.</span>
-</DIV>
+</div>
<!--End of Navigation Panel-->
-</BODY>
-</HTML>
+</body>
+</html>