From 522bc0e1e4fa9d1b8cbe2f6f66a35c14d93ae5f3 Mon Sep 17 00:00:00 2001 From: HÃ¥vard Pettersen Date: Mon, 25 Mar 2019 15:15:59 +0000 Subject: include content length in http response --- staging_vespalib/src/tests/state_server/state_server_test.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'staging_vespalib/src') diff --git a/staging_vespalib/src/tests/state_server/state_server_test.cpp b/staging_vespalib/src/tests/state_server/state_server_test.cpp index d4f665029cc..d4071526a79 100644 --- a/staging_vespalib/src/tests/state_server/state_server_test.cpp +++ b/staging_vespalib/src/tests/state_server/state_server_test.cpp @@ -81,6 +81,7 @@ TEST_FF("require that non-empty known url returns expected headers", DummyHandle vespalib::string expect("HTTP/1.1 200 OK\r\n" "Connection: close\r\n" "Content-Type: application/json\r\n" + "Content-Length: 5\r\n" "\r\n" "[123]"); std::string actual = getFull(f2.port(), my_path); -- cgit v1.2.3