/rc/bin/rc-httpd/handlers/error: restore fn 400 (thanks, qeed)

This commit is contained in:
glenda 2022-04-01 02:12:30 +00:00
parent 241667b933
commit 4daf4ffdbe

View file

@ -19,6 +19,11 @@ fn do_error{
' '
} }
fn 400{
do_error '400 Bad Request' \
'The request was invalid.'
}
fn 401{ fn 401{
do_error '401 Unauthorized' \ do_error '401 Unauthorized' \
'The requested path '^$"location^' requires authorization.' 'The requested path '^$"location^' requires authorization.'