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

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to