aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/io/headers.cpp
diff options
context:
space:
mode:
authorglebx777 <glebx777@yandex-team.ru>2022-02-10 16:49:44 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:44 +0300
commit573561e4ea1e5fcbf31e871b7f81ece0051c6bf2 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/io/headers.cpp
parentab9150ae9d81b97b19a2a6a8b903f9a40791c8b4 (diff)
downloadydb-573561e4ea1e5fcbf31e871b7f81ece0051c6bf2.tar.gz
Restoring authorship annotation for <glebx777@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/io/headers.cpp')
-rw-r--r--library/cpp/http/io/headers.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/http/io/headers.cpp b/library/cpp/http/io/headers.cpp
index 180b939de40..4ec27a29e83 100644
--- a/library/cpp/http/io/headers.cpp
+++ b/library/cpp/http/io/headers.cpp
@@ -67,11 +67,11 @@ const THttpInputHeader* THttpHeaders::FindHeader(const TStringBuf header) const
for (const auto& hdr : Headers_) {
if (AsciiCompareIgnoreCase(hdr.Name(), header) == 0) {
return &hdr;
- }
- }
+ }
+ }
return nullptr;
-}
-
+}
+
void THttpHeaders::RemoveHeader(const TStringBuf header) {
for (auto h = Headers_.begin(); h != Headers_.end(); ++h) {
if (AsciiCompareIgnoreCase(h->Name(), header) == 0) {