mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Add a status string for unknown status numbers
This commit is contained in:
parent
5ea41e5f4b
commit
753ade5efc
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ class Application(object):
|
||||||
headers["Content-Length"] = str(len(answer))
|
headers["Content-Length"] = str(len(answer))
|
||||||
|
|
||||||
# Start response
|
# Start response
|
||||||
status = "%i %s" % (status, client.responses.get(status, ""))
|
status = "%i %s" % (status, client.responses.get(status, "Unknown"))
|
||||||
start_response(status, list(headers.items()))
|
start_response(status, list(headers.items()))
|
||||||
|
|
||||||
# Return response content
|
# Return response content
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue