/rc/bin/rc-httpd/handlers/error: restore fn 400 (thanks, qeed)
This commit is contained in:
parent
241667b933
commit
4daf4ffdbe
1 changed files with 5 additions and 0 deletions
|
@ -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.'
|
||||
|
|
Loading…
Reference in a new issue