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
commitab9150ae9d81b97b19a2a6a8b903f9a40791c8b4 (patch)
treeff7ea20bcb3779c1ae74319692b5b48686d480cc /library/cpp/http/io/headers.cpp
parent5a8cb97e0064c6b1afe060dc7a4a7c9c0eb879be (diff)
downloadydb-ab9150ae9d81b97b19a2a6a8b903f9a40791c8b4.tar.gz
Restoring authorship annotation for <glebx777@yandex-team.ru>. Commit 1 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 4ec27a29e8..180b939de4 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) {