aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/io/headers_ut.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/http/io/headers_ut.cpp
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/io/headers_ut.cpp')
-rw-r--r--library/cpp/http/io/headers_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/http/io/headers_ut.cpp b/library/cpp/http/io/headers_ut.cpp
index 1d23ef8fdc..12c45b3b7f 100644
--- a/library/cpp/http/io/headers_ut.cpp
+++ b/library/cpp/http/io/headers_ut.cpp
@@ -1,5 +1,5 @@
#include <util/generic/set.h>
-#include <util/generic/string.h>
+#include <util/generic/string.h>
#include <util/generic/strbuf.h>
#include <utility>
@@ -21,7 +21,7 @@ namespace {
public:
void Add(TStringBuf name, TStringBuf value) {
- Impl.emplace(TString(name), TString(value));
+ Impl.emplace(TString(name), TString(value));
}
bool operator==(const THeadersExistence& rhs) const {
@@ -29,7 +29,7 @@ namespace {
}
private:
- typedef TMultiSet<std::pair<TString, TString>> TImpl;
+ typedef TMultiSet<std::pair<TString, TString>> TImpl;
TImpl Impl;
};
}
@@ -66,11 +66,11 @@ public:
private:
static void AddHeaderImpl1Arg(THttpHeaders& headers, TStringBuf name, TStringBuf value) {
- headers.AddHeader(THttpInputHeader(TString(name), TString(value)));
+ headers.AddHeader(THttpInputHeader(TString(name), TString(value)));
}
static void AddHeaderImpl2Args(THttpHeaders& headers, TStringBuf name, TStringBuf value) {
- headers.AddHeader(TString(name), TString(value));
+ headers.AddHeader(TString(name), TString(value));
}
static void AddOrReplaceHeaderImpl1Arg(THttpHeaders& headers, TStringBuf name, TStringBuf value) {
@@ -154,7 +154,7 @@ void THttpHeadersTest::DoTestAddOrReplaceOperation(TAddHeaderFunction addHeader,
void THttpHeadersTest::TestAddHeaderTemplateness() {
THttpHeaders h1;
h1.AddHeader("h1", "v1");
- h1.AddHeader("h2", TString("v2"));
+ h1.AddHeader("h2", TString("v2"));
h1.AddHeader("h3", TStringBuf("v3"));
h1.AddHeader("h4", TStringBuf("v4"));