aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/portal/http_connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/vespa/vespalib/portal/http_connection.cpp')
-rw-r--r--vespalib/src/vespa/vespalib/portal/http_connection.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/portal/http_connection.cpp b/vespalib/src/vespa/vespalib/portal/http_connection.cpp
index 97a5f6082c9..cfee71e4a7d 100644
--- a/vespalib/src/vespa/vespalib/portal/http_connection.cpp
+++ b/vespalib/src/vespa/vespalib/portal/http_connection.cpp
@@ -222,7 +222,6 @@ HttpConnection::respond_with_content(const vespalib::string &content_type,
dst.printf("HTTP/1.1 200 OK\r\n");
dst.printf("Connection: close\r\n");
dst.printf("Content-Type: %s\r\n", content_type.c_str());
- dst.printf("Content-Length: %zu\r\n", content.size());
dst.printf("\r\n");
dst.write(content.data(), content.size());
}