From 8175829b4be29c1d454ee782ec6707224ac01e20 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Fri, 21 Feb 2020 12:22:37 -0800 Subject: [PATCH] unittest / add extra test for checking headers --- test/IXHttpServerTest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/IXHttpServerTest.cpp b/test/IXHttpServerTest.cpp index 53d4eef5..7c8034a9 100644 --- a/test/IXHttpServerTest.cpp +++ b/test/IXHttpServerTest.cpp @@ -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(); }