[Zope-Checkins] SVN: Zope/trunk/src/ZPublisher/BaseRequest.py Do not guess it is a webdav request if the http method is purge
Partick Gerken
cvs-admin at zope.org
Thu Jul 12 11:48:41 UTC 2012
Log message for revision 127343:
Do not guess it is a webdav request if the http method is purge
Changed:
U Zope/trunk/src/ZPublisher/BaseRequest.py
-=-
Modified: Zope/trunk/src/ZPublisher/BaseRequest.py
===================================================================
--- Zope/trunk/src/ZPublisher/BaseRequest.py 2012-07-12 11:47:43 UTC (rev 127342)
+++ Zope/trunk/src/ZPublisher/BaseRequest.py 2012-07-12 11:48:37 UTC (rev 127343)
@@ -379,7 +379,7 @@
# How did this request come in? (HTTP GET, PUT, POST, etc.)
method = request_get('REQUEST_METHOD', 'GET').upper()
- if method=='GET' or method=='POST' and not isinstance(response,
+ if method in ["GET", "POST", "PURGE"] and not isinstance(response,
xmlrpc.Response):
# Probably a browser
no_acquire_flag=0
More information about the Zope-Checkins
mailing list