mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Cast header item into list for Python 3.x compatibility
This commit is contained in:
parent
882d70e2cb
commit
0202756540
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ class Application(object):
|
|||
|
||||
# Start response
|
||||
status = "%i %s" % (status, client.responses.get(status, ""))
|
||||
start_response(status, headers.items())
|
||||
start_response(status, list(headers.items()))
|
||||
|
||||
# Return response content
|
||||
return [answer] if answer else []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue