Commit 819484e1 authored by iv's avatar iv Committed by Your Name

Fix comments.

parent 1c872791
...@@ -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)
......
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