diff options
author | Håvard Pettersen <havardpe@oath.com> | 2019-03-25 15:15:59 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2019-03-25 15:15:59 +0000 |
commit | 522bc0e1e4fa9d1b8cbe2f6f66a35c14d93ae5f3 (patch) | |
tree | d94071b784e97632e370a37004067b0e422e9757 /storage/src | |
parent | e957b28c666a6b0d45fc325efc11e894f7d63d94 (diff) |
include content length in http response
Diffstat (limited to 'storage/src')
-rw-r--r-- | storage/src/tests/frameworkimpl/status/statustest.cpp | 3 |
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..9e5a87e8783 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: 206\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" |