git: 9front

Download patch

ref: 184be6f0d81e9ff78b17b9aad1980a3d516f6c74
parent: 47f510c30f2f053941232f28872bffd2ba16de2f
author: glenda <glenda@9front.local>
date: Thu Mar 31 22:12:30 EDT 2022

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

--- a/rc/bin/rc-httpd/handlers/error
+++ b/rc/bin/rc-httpd/handlers/error
@@ -19,6 +19,11 @@
 	'
 }
 
+fn 400{
+	do_error '400 Bad Request' \
+	'The request was invalid.'
+}
+
 fn 401{
 	do_error '401 Unauthorized' \
 	'The requested path '^$"location^' requires authorization.'
--