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 | 767f05356832cfac686778897626e124d257dbc8 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/io/headers.h | |
parent | e4b93027b4c6dbd741ebd637f0b5db1d583ee93f (diff) | |
download | ydb-767f05356832cfac686778897626e124d257dbc8.tar.gz |
Restoring authorship annotation for <chegoryu@yandex-team.ru>. Commit 2 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 7b164c1cbc..a71793d1c6 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; |