SVN: Zope/trunk/src/ZPublisher/BaseRequest.py Do not guess it is a webdav request if the http method is purge
Partick Gerken <[email protected]> Thu, 12 Jul 2012 07:48:41 -0400 (EDT)
| Newsgroups | gmane.comp.web.zope.cvs |
|---|---|
| Message-ID | <[email protected]> |
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 - [email protected]
https://mail.zope.org/mailman/listinfo/zope-checkins