Merge pull request #461 from Unrud/patch-27

Remove old code
This commit is contained in:
Guillaume Ayoub 2016-08-05 17:48:03 +02:00 committed by GitHub
commit 9aefc500ec

View File

@ -459,9 +459,7 @@ class Application:
if item:
return client.CONFLICT, {}, None
props = xmlutils.props_from_request(content)
collection = self.Collection.create_collection(path, props=props)
for key, value in props.items():
collection.set_meta(key, value)
self.Collection.create_collection(path, props=props)
return client.CREATED, {}, None
def do_MOVE(self, environ, path, content, user):