diff options
author | danlark <danlark@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
commit | baa58daefa91fde4b4769facdbd2903763b9c6a8 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/http/server/response.cpp | |
parent | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (diff) | |
download | ydb-baa58daefa91fde4b4769facdbd2903763b9c6a8.tar.gz |
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/server/response.cpp')
-rw-r--r-- | library/cpp/http/server/response.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/http/server/response.cpp b/library/cpp/http/server/response.cpp index 0a89709d44..52d64c91ce 100644 --- a/library/cpp/http/server/response.cpp +++ b/library/cpp/http/server/response.cpp @@ -39,10 +39,10 @@ void THttpResponse::OutTo(IOutputStream& os) const { char buf[50]; - if (!Content.empty()) { + if (!Content.empty()) { TMemoryOutput mo(buf, sizeof(buf)); - mo << Content.size(); + mo << Content.size(); parts.push_back(IOutputStream::TPart(TStringBuf("Content-Length: "))); parts.push_back(IOutputStream::TPart(buf, mo.Buf() - buf)); @@ -52,11 +52,11 @@ void THttpResponse::OutTo(IOutputStream& os) const { // content parts.push_back(IOutputStream::TPart::CrLf()); - if (!Content.empty()) { + if (!Content.empty()) { parts.push_back(IOutputStream::TPart(Content)); } - os.Write(parts.data(), parts.size()); + os.Write(parts.data(), parts.size()); } template <> |