diff options
Diffstat (limited to 'src/HttpResponse.cpp')
-rw-r--r-- | src/HttpResponse.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/HttpResponse.cpp b/src/HttpResponse.cpp index c07178f..2f330e5 100644 --- a/src/HttpResponse.cpp +++ b/src/HttpResponse.cpp @@ -48,7 +48,8 @@ std::string HttpResponse::to_string() const string_stream << "HTTP/1.0 " << status_code_string(m_status_code) << "\r\n"; for (const auto& header : m_headers) string_stream << header.first << ": " << header.second << "\r\n"; - string_stream << "\r\n" << m_content; + string_stream << "\r\n" + << m_content; return string_stream.str(); } |