summaryrefslogtreecommitdiff
path: root/python2/httplib2
diff options
context:
space:
mode:
authorJoe Gregorio <jcgregorio@google.com>2011-05-24 14:06:09 -0400
committerJoe Gregorio <jcgregorio@google.com>2011-05-24 14:06:09 -0400
commitbd68208f93806704374711623f8715a0356d048a (patch)
treef1e9ab7a6e969bdd75223871413d4014d327b330 /python2/httplib2
parent3a4580cb97a2590c7c936d3332ccbc25a8830830 (diff)
downloadhttplib2-bd68208f93806704374711623f8715a0356d048a.tar.gz
Add default support for optimistic concurrency on PATCH requests
Diffstat (limited to 'python2/httplib2')
-rw-r--r--python2/httplib2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py
index 64f2e17..1e6a5c0 100644
--- a/python2/httplib2/__init__.py
+++ b/python2/httplib2/__init__.py
@@ -865,7 +865,7 @@ and more.
# Which HTTP methods do we apply optimistic concurrency to, i.e.
# which methods get an "if-match:" etag header added to them.
- self.optimistic_concurrency_methods = ["PUT"]
+ self.optimistic_concurrency_methods = ["PUT", "PATCH"]
# If 'follow_redirects' is True, and this is set to True then
# all redirecs are followed, including unsafe ones.