summaryrefslogtreecommitdiffstats
path: root/storage
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-26 11:16:27 +0000
commit00ebbf362886b4ac6292b4e1693728829007e751 (patch)
tree10f99e32ceb10bfb23c35c882c11bf691768976d /storage
parent516af392068b14eaf80624eb32d236767e2311e3 (diff)
include content length in http response
Diffstat (limited to 'storage')
-rw-r--r--storage/src/tests/frameworkimpl/status/statustest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/src/tests/frameworkimpl/status/statustest.cpp b/storage/src/tests/frameworkimpl/status/statustest.cpp
index b047a4000cf..a9ffe188c69 100644
--- a/storage/src/tests/frameworkimpl/status/statustest.cpp
+++ b/storage/src/tests/frameworkimpl/status/statustest.cpp
@@ -130,6 +130,7 @@ StatusTest::testIndexStatusPage()
"HTTP\\/1.1 200 OK\r\n"
"Connection: close\r\n"
"Content-Type: text\\/html\r\n"
+ "Content-Length: [0-9]+\r\n"
"\r\n"
"<html>\n"
"<head>\n"
@@ -160,6 +161,7 @@ StatusTest::testHtmlStatus()
"HTTP/1.1 200 OK\r\n"
"Connection: close\r\n"
"Content-Type: text/html\r\n"
+ "Content-Length: 117\r\n"
"\r\n"
"<html>\n"
"<head>\n"
@@ -187,6 +189,7 @@ StatusTest::testXmlStatus()
"HTTP/1.1 200 OK\r\n"
"Connection: close\r\n"
"Content-Type: application/xml\r\n"
+ "Content-Length: 100\r\n"
"\r\n"
"<?xml version=\"1.0\"?>\n"
"<status id=\"fooid\" name=\"Foo impl\">\n"