unittest / add extra test for checking headers
This commit is contained in:
parent
4c66a7561e
commit
8175829b4b
@ -59,6 +59,7 @@ TEST_CASE("http server", "[httpd]")
|
||||
|
||||
REQUIRE(response->errorCode == HttpErrorCode::Ok);
|
||||
REQUIRE(response->statusCode == 200);
|
||||
REQUIRE(response->headers["Accept-Encoding"] == "gzip");
|
||||
|
||||
server.stop();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user