Commit Diff


commit - 2895fd6ddcae6c90b53efeaf9f56e9cc0e748689
commit + d421a781300d0f29c6f8fb47e6c438e19823e255
blob - c2cff2ddd3e2927e3a4bfe163b2fb0a70d194a47
blob + 81d3348e15abf9db35adb39908f9e9d5aa1f505d
--- test/route-unknown.test
+++ test/route-unknown.test
@@ -1,4 +1,4 @@
-Unknown route returns 400.
+Unknown route returns 404.
 ---
 ---
 ---
@@ -8,7 +8,7 @@ SERVER_PROTOCOL=HTTP/1.1
 ---
 ---
 ---
-Status: 400 Bad Request
+Status: 404 Not Found
 Content-Type: text/plain; charset=utf-8
 
-Bad Request
+Not Found
blob - 3ffe8a7b49a09aa702ef140dc989d8efc659a991
blob + b7d77d7404014983cd6cd3c65b65d126892e51ee
--- test/route-wrong-method.test
+++ test/route-wrong-method.test
@@ -1,4 +1,4 @@
-Wrong HTTP method for a known route returns 400.
+Wrong HTTP method for a known route returns 405.
 ---
 ---
 ---
@@ -8,7 +8,7 @@ SERVER_PROTOCOL=HTTP/1.1
 ---
 ---
 ---
-Status: 400 Bad Request
+Status: 405 Method Not Allowed
 Content-Type: text/plain; charset=utf-8
 
-Bad Request
+Method Not Allowed