diff options
author | chegoryu <chegoryu@yandex-team.ru> | 2022-02-10 16:49:47 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:47 +0300 |
commit | e4b93027b4c6dbd741ebd637f0b5db1d583ee93f (patch) | |
tree | 8b70986cdec2c8b7996f47c0429a6ec5dcd09392 /library/cpp/http/io/headers.h | |
parent | 095c2e55a230f89487c2f2caace05e108742d72c (diff) | |
download | ydb-e4b93027b4c6dbd741ebd637f0b5db1d583ee93f.tar.gz |
Restoring authorship annotation for <chegoryu@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/io/headers.h')
-rw-r--r-- | library/cpp/http/io/headers.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/http/io/headers.h b/library/cpp/http/io/headers.h index a71793d1c6..7b164c1cbc 100644 --- a/library/cpp/http/io/headers.h +++ b/library/cpp/http/io/headers.h @@ -94,11 +94,11 @@ public: /// заголовок на новый. void AddOrReplaceHeader(const THttpInputHeader& header); - template <typename ValueType> - void AddOrReplaceHeader(TString name, const ValueType& value) { - AddOrReplaceHeader(THttpInputHeader(std::move(name), ToString(value))); - } - + template <typename ValueType> + void AddOrReplaceHeader(TString name, const ValueType& value) { + AddOrReplaceHeader(THttpInputHeader(std::move(name), ToString(value))); + } + // Проверяет, есть ли такой заголовок bool HasHeader(TStringBuf header) const; |