diff options
| author | tobo <[email protected]> | 2022-02-10 16:47:27 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:27 +0300 | 
| commit | 55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch) | |
| tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/http/server/response.cpp | |
| parent | 7fe839092527589b38f014d854c51565b3c1adfa (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/server/response.cpp')
| -rw-r--r-- | library/cpp/http/server/response.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/library/cpp/http/server/response.cpp b/library/cpp/http/server/response.cpp index 28581427e1d..52d64c91cec 100644 --- a/library/cpp/http/server/response.cpp +++ b/library/cpp/http/server/response.cpp @@ -25,14 +25,14 @@ void THttpResponse::OutTo(IOutputStream& os) const {      parts.reserve(FIRST_LINE_PARTS + HEADERS_PARTS + CONTENT_PARTS);      // first line -    parts.push_back(IOutputStream::TPart(TStringBuf("HTTP/1.1 ")));  +    parts.push_back(IOutputStream::TPart(TStringBuf("HTTP/1.1 ")));      parts.push_back(IOutputStream::TPart(HttpCodeStrEx(Code)));      parts.push_back(IOutputStream::TPart::CrLf());      // headers      for (THttpHeaders::TConstIterator i = Headers.Begin(); i != Headers.End(); ++i) {          parts.push_back(IOutputStream::TPart(i->Name())); -        parts.push_back(IOutputStream::TPart(TStringBuf(": ")));  +        parts.push_back(IOutputStream::TPart(TStringBuf(": ")));          parts.push_back(IOutputStream::TPart(i->Value()));          parts.push_back(IOutputStream::TPart::CrLf());      } @@ -44,7 +44,7 @@ void THttpResponse::OutTo(IOutputStream& os) const {          mo << Content.size(); -        parts.push_back(IOutputStream::TPart(TStringBuf("Content-Length: ")));  +        parts.push_back(IOutputStream::TPart(TStringBuf("Content-Length: ")));          parts.push_back(IOutputStream::TPart(buf, mo.Buf() - buf));          parts.push_back(IOutputStream::TPart::CrLf());      } | 
