mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
Change HTTP response 303 to 302
This commit is contained in:
parent
9f0611cd20
commit
f4a9399a97
3 changed files with 6 additions and 6 deletions
|
@ -563,7 +563,7 @@ class Application:
|
|||
if not environ.get("PATH_INFO"):
|
||||
web_path = posixpath.join(posixpath.basename(base_prefix),
|
||||
web_path)
|
||||
return (client.SEE_OTHER,
|
||||
return (client.FOUND,
|
||||
{"Location": web_path, "Content-Type": "text/plain"},
|
||||
"Redirected to %s" % web_path)
|
||||
# Dispatch .web URL to web module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue