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
819484e1
Commit
819484e1
authored
Dec 08, 2015
by
iv
Committed by
Your Name
Dec 08, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comments.
parent
1c872791
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
flaskdav.py
flaskdav.py
+1
-2
No files found.
flaskdav.py
View file @
819484e1
...
@@ -172,7 +172,7 @@ class WebDAV(MethodView):
...
@@ -172,7 +172,7 @@ class WebDAV(MethodView):
"""
"""
PUT:
PUT:
on collection: 405 Method Not Allowed,
on collection: 405 Method Not Allowed,
on ressource: create if not existschange content
on ressource: create if not exists
, else
change content
"""
"""
response
=
g
.
response
response
=
g
.
response
...
@@ -344,7 +344,6 @@ def authorize():
...
@@ -344,7 +344,6 @@ def authorize():
response
.
headers
[
'Location'
]
=
'/'
response
.
headers
[
'Location'
]
=
'/'
if
back
:
if
back
:
response
.
headers
[
'Location'
]
=
back
response
.
headers
[
'Location'
]
=
back
# what if not? use referer? send bad request error? just do nothing?
else
:
else
:
debug
(
request
.
args
)
debug
(
request
.
args
)
...
...
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