summaryrefslogtreecommitdiff
path: root/src/HttpResponse.cpp
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2022-09-19 21:46:12 -0600
committercflip <cflip@cflip.net>2022-09-19 21:46:12 -0600
commitbcea88142033f37bffeca4df096fb7795ebf7020 (patch)
treed1f990532092327c3269ac3bed86eec6061a3067 /src/HttpResponse.cpp
parentb8766fcef6dcc40bd46584015375ea76518c6201 (diff)
Add ClangFormat configuration and reformat files
Diffstat (limited to 'src/HttpResponse.cpp')
-rw-r--r--src/HttpResponse.cpp3
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();
}