Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flaskdav
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
flaskdav
Commits
de2f840e
Commit
de2f840e
authored
Nov 30, 2015
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not redefine head method.
parent
0699cee1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
flaskdav.py
flaskdav.py
+1
-8
No files found.
flaskdav.py
View file @
de2f840e
...
...
@@ -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
):
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment