aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/io/headers.h
diff options
context:
space:
mode:
authorchegoryu <chegoryu@yandex-team.ru>2022-02-10 16:49:47 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:47 +0300
commit767f05356832cfac686778897626e124d257dbc8 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/io/headers.h
parente4b93027b4c6dbd741ebd637f0b5db1d583ee93f (diff)
downloadydb-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.h10
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;