mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
report needs a content-type as well.
This commit is contained in:
parent
8f2335093d
commit
d228bcbad2
1 changed files with 2 additions and 1 deletions
|
@ -296,7 +296,8 @@ class Application(object):
|
|||
|
||||
def report(self, environ, calendar, content):
|
||||
"""Manage REPORT request."""
|
||||
headers = {'Content-Type': 'text/xml'}
|
||||
answer = xmlutils.report(environ["PATH_INFO"], content, calendar)
|
||||
return client.MULTI_STATUS, {}, answer
|
||||
return client.MULTI_STATUS, headers, answer
|
||||
|
||||
# pylint: enable=W0612,W0613,R0201
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue