diff options
author | glenda <glenda@9front.local> | 2022-04-01 02:12:30 +0000 |
---|---|---|
committer | glenda <glenda@9front.local> | 2022-04-01 02:12:30 +0000 |
commit | 4daf4ffdbed20d10585c8da987d200b7a200fcc4 (patch) | |
tree | 9979deb7e90ca73256e0ff586cc4b4aba2fe562a | |
parent | 241667b933ff5bacb9a3974f6877fb8aad78bed3 (diff) |
/rc/bin/rc-httpd/handlers/error: restore fn 400 (thanks, qeed)
-rwxr-xr-x | rc/bin/rc-httpd/handlers/error | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rc/bin/rc-httpd/handlers/error b/rc/bin/rc-httpd/handlers/error index e0608a988..fa594a9f1 100755 --- a/rc/bin/rc-httpd/handlers/error +++ b/rc/bin/rc-httpd/handlers/error @@ -19,6 +19,11 @@ fn do_error{ ' } +fn 400{ + do_error '400 Bad Request' \ + 'The request was invalid.' +} + fn 401{ do_error '401 Unauthorized' \ 'The requested path '^$"location^' requires authorization.' |