Merge: Base64: Revamped base64_decode and added a strict mode
[nit.git] / tests / sav / test_nitcorn.res
index 4d2fb2c..6e77d2e 100644 (file)
@@ -42,7 +42,7 @@ Method: GET, URI: /params_answer/0123/asdf/trailing/path, trailing: /trailing/pa
 Params args: i:0123, s:asdf
 
 [Client] curl -s localhost:*****/params_answer/0123 --head
-HTTP/1.0 405 Method Not Allowed\r
+HTTP/1.0 404 Not Found\r
 Content-Length: 0\r
 Server: nitcorn\r
 Set-Cookie: nitcorn_session=; HttpOnly; expires=Thu, 01 Jan 1970 00:00:00 GMT\r
@@ -64,9 +64,9 @@ Set-Cookie: nitcorn_session=; HttpOnly; expires=Thu, 01 Jan 1970 00:00:00 GMT
        <div class="container">
                <h1>/</h1>
                <ul>
+                       <li><a href="a.txt">a.txt</a></li>
                        <li><a href="b.txt">b.txt</a></li>
                        <li><a href="binary_file.png">binary_file.png</a></li>
-                       <li><a href="a.txt">a.txt</a></li>
                </ul>
        </div>
 </body>
@@ -118,7 +118,7 @@ Set-Cookie: nitcorn_session=; HttpOnly; expires=Thu, 01 Jan 1970 00:00:00 GMT
 \r
 
 [Client] curl -s localhost:*****/invalid_route --head
-HTTP/1.0 405 Method Not Allowed\r
+HTTP/1.0 404 Not Found\r
 Content-Length: 0\r
 Server: nitcorn\r
 Set-Cookie: nitcorn_session=; HttpOnly; expires=Thu, 01 Jan 1970 00:00:00 GMT\r