summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorn.christian@seime.no>2019-03-25 16:20:31 +0100
committerGitHub <noreply@github.com>2019-03-25 16:20:31 +0100
commit8533c200eaba6f2573228509e5eae5eb036b282f (patch)
tree2c37a9143a63e504959f40f39d858e036de9ab55 /staging_vespalib
parent02579732c1a0b40dcfc25113f977da49d133b5fa (diff)
parent522bc0e1e4fa9d1b8cbe2f6f66a35c14d93ae5f3 (diff)
Merge pull request #8894 from vespa-engine/havardpe/add-content-length
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);