summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@oath.com>2019-03-25 15:15:59 +0000
committerHåvard Pettersen <havardpe@oath.com>2019-03-25 15:15:59 +0000
commit522bc0e1e4fa9d1b8cbe2f6f66a35c14d93ae5f3 (patch)
treed94071b784e97632e370a37004067b0e422e9757 /staging_vespalib
parente957b28c666a6b0d45fc325efc11e894f7d63d94 (diff)
include content length in http response
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/src/tests/state_server/state_server_test.cpp1
1 files changed, 1 insertions, 0 deletions
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);