Commit c53052ee6ebe3c9c1beea54008d5e70f5762ce8d

Thomas de Grivel 2024-11-06T11:38:10

404: show request method

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/kc3/0.1/httpd.kc3 b/lib/kc3/0.1/httpd.kc3
index c94d691..76acad3 100644
--- a/lib/kc3/0.1/httpd.kc3
+++ b/lib/kc3/0.1/httpd.kc3
@@ -181,7 +181,7 @@ defmodule HTTPd do
   <body>
     <h1>404 Not Found</h1>
     <p>
-      The requested URL #{HTML.escape(inspect(request.url))} was not found on this server.
+      The requested URL #{HTML.escape(inspect(request.url))} for method #{HTML.escape(inspect(request.method))} was not found on this server.
     </p>
   </body>
 </html>