many things

This commit is contained in:
2025-08-09 19:28:04 +03:00
parent ee4d1f90a3
commit a638f39cc5
5 changed files with 106 additions and 82 deletions

View File

@@ -15,5 +15,14 @@ start_msg="started at <ADDR>"
conn_msg="conn from <ADDR>"
get_msg="<ADDR> got <FILE>"
e404_file="404.html"
e404_msg="<ADDR> err 404 <FILE>"
err_files = {
404: "html/404.html",
403: "html/403.html",
418: "html/418.html"
}
err_msgs = {
404: "<ADDR> err 404 <FILE>",
403: "<ADDR> err 403 <FILE>",
418: "<ADDR> err 418 (teapot) <FILE>"
}