summaryrefslogtreecommitdiff
path: root/libhttplib2.tex
diff options
context:
space:
mode:
authorjcgregorio <devnull@localhost>2006-10-28 05:12:34 +0000
committerjcgregorio <devnull@localhost>2006-10-28 05:12:34 +0000
commit2518562b453abb0abe2c616f7d52e49b7dd721c5 (patch)
treeea44c3c9655b10aedce54067668d8f865f42ab66 /libhttplib2.tex
parent48bb357f591c0fa3faede76a8a98cd79917f0da6 (diff)
downloadhttplib2-2518562b453abb0abe2c616f7d52e49b7dd721c5.tar.gz
Added Http.ignore_etag
Diffstat (limited to 'libhttplib2.tex')
-rw-r--r--libhttplib2.tex13
1 files changed, 8 insertions, 5 deletions
diff --git a/libhttplib2.tex b/libhttplib2.tex
index a404c8b..f219fce 100644
--- a/libhttplib2.tex
+++ b/libhttplib2.tex
@@ -205,14 +205,17 @@ Remove all the names and passwords used for authentication.
\end{methoddesc}
\begin{memberdesc}[Http]{follow_all_redirects}
-If \code{false}, which is the default, only safe redirects are followed, where
+If \code{False}, which is the default, only safe redirects are followed, where
safe means that the client is only doing a \code{GET} or \code{HEAD} on the
-URI to which it is being redirected. If \code{true} then all redirects are followed.
+URI to which it is being redirected. If \code{True} then all redirects are followed.
\end{memberdesc}
-
-
-
+\begin{memberdesc}[Http]{ignore_etag}
+Defaults to \code{False}. If True, then any etags present in the cached response
+are ignored when processing the current request, i.e. httplib2 does *not* use
+'if-match' for PUT or 'if-none-match' when GET or HEAD requests are made. This
+is mainly to deal with broken servers which supply an etag, but change it capriciously.
+\end{memberdesc}
\subsection{Cache Objects}
\label{cache-objects}