Follow the depth in REPORT requests
This commit is contained in:
@@ -568,11 +568,10 @@ class Application(object):
|
||||
if not len(read_collections):
|
||||
return NOT_ALLOWED
|
||||
|
||||
collection = read_collections[0]
|
||||
|
||||
headers = {"Content-Type": "text/xml"}
|
||||
|
||||
answer = xmlutils.report(environ["PATH_INFO"], content, collection)
|
||||
answer = xmlutils.report(
|
||||
environ["PATH_INFO"], content, read_collections)
|
||||
return client.MULTI_STATUS, headers, answer
|
||||
|
||||
# pylint: enable=W0612,W0613,R0201
|
||||
|
Reference in New Issue
Block a user