Commit de2f840e authored by iv's avatar iv

Do not redefine head method.

parent 0699cee1
......@@ -61,7 +61,7 @@ def before_request():
g.response = response
class WebDAV(MethodView):
methods = ['GET', 'HEAD', 'PUT', 'PROPFIND', 'PROPPATCH', 'MKCOL', 'DELETE', 'COPY', 'MOVE']
methods = ['GET', 'PUT', 'PROPFIND', 'PROPPATCH', 'MKCOL', 'DELETE', 'COPY', 'MOVE']
def __init__(self):
self.baseuri = URI_BEGINNING_PATH['webdav']
......@@ -76,13 +76,6 @@ class WebDAV(MethodView):
request_data = None
return request_data
def head(self, pathname):
"""
HEAD:
returns headers only
"""
return g.response
def get(self, pathname):
"""
......
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