Commit af8c23cf authored by Patrick Gerken's avatar Patrick Gerken

Do not guess it is a webdav request if the http method is purge

parent 5af17492
......@@ -379,7 +379,7 @@ class BaseRequest:
# 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment