unittest / add extra test for checking headers

This commit is contained in:
Benjamin Sergeant 2020-02-21 12:22:37 -08:00
parent 4c66a7561e
commit 8175829b4b

View File

@ -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();
}