This commit is contained in:
@@ -471,7 +471,8 @@ TEST("Rest - Test Web server part.\t")
|
|||||||
ASSERT_EQUAL_INT(ret, 0);
|
ASSERT_EQUAL_INT(ret, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = exec_request(kput_method, "http://localhost:" kserver_port "/not_found.html", 404, "", "<HTML><HEAD>\n<TITLE>404 Not Found</TITLE>\n</HEAD><BODY>\n<H1>Not Found</H1>\n</BODY></HTML>\n", false);
|
// <HTML><HEAD>\n<TITLE>404 Not Found</TITLE>\n</HEAD><BODY>\n<H1>Not Found</H1>\n</BODY></HTML>
|
||||||
|
ret = exec_request(kput_method, "http://localhost:" kserver_port "/not_found.html", 404, "", "<html><head><title>404 Not Found</title></head><body><h1>404 Not Found</h1></body></html>", false);
|
||||||
ASSERT_EQUAL_INT(ret, 0);
|
ASSERT_EQUAL_INT(ret, 0);
|
||||||
|
|
||||||
restd_server_free(rest_server);
|
restd_server_free(rest_server);
|
||||||
|
|||||||
Reference in New Issue
Block a user