diff options
author | jcgregorio <devnull@localhost> | 2006-10-28 05:12:34 +0000 |
---|---|---|
committer | jcgregorio <devnull@localhost> | 2006-10-28 05:12:34 +0000 |
commit | 2518562b453abb0abe2c616f7d52e49b7dd721c5 (patch) | |
tree | ea44c3c9655b10aedce54067668d8f865f42ab66 /libhttplib2.tex | |
parent | 48bb357f591c0fa3faede76a8a98cd79917f0da6 (diff) | |
download | httplib2-2518562b453abb0abe2c616f7d52e49b7dd721c5.tar.gz |
Added Http.ignore_etag
Diffstat (limited to 'libhttplib2.tex')
-rw-r--r-- | libhttplib2.tex | 13 |
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} |