aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-21 23:40:06 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-21 23:40:06 +0300
commitdbd0284ce8fa6dbab04240681dc8030b27c925a5 (patch)
tree1ed7e494d2185fa6e0fce5a449a6e252db5cb06a /library
parent700cb9d71f7c7a16721d302c2b9960ab189d104d (diff)
downloadydb-dbd0284ce8fa6dbab04240681dc8030b27c925a5.tar.gz
intermediate changes
ref:97eeefd83b6f381aa940777f0d803b239f434eaf
Diffstat (limited to 'library')
-rw-r--r--library/cpp/http/io/headers.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/library/cpp/http/io/headers.h b/library/cpp/http/io/headers.h
index a71793d1c6..cfb4a9c054 100644
--- a/library/cpp/http/io/headers.h
+++ b/library/cpp/http/io/headers.h
@@ -14,6 +14,12 @@ class IOutputStream;
/// Объект, содержащий информацию о HTTP-заголовке.
class THttpInputHeader {
public:
+ THttpInputHeader() = delete;
+ THttpInputHeader(const THttpInputHeader&) = default;
+ THttpInputHeader(THttpInputHeader&&) = default;
+ THttpInputHeader& operator=(const THttpInputHeader&) = default;
+ THttpInputHeader& operator=(THttpInputHeader&&) = default;
+
/// @param[in] header - строка вида 'параметр: значение'.
THttpInputHeader(TStringBuf header);
/// @param[in] name - имя параметра.
@@ -51,6 +57,10 @@ public:
using TConstIterator = THeaders::const_iterator;
THttpHeaders() = default;
+ THttpHeaders(const THttpHeaders&) = default;
+ THttpHeaders& operator=(const THttpHeaders&) = default;
+ THttpHeaders(THttpHeaders&&) = default;
+ THttpHeaders& operator=(THttpHeaders&&) = default;
/// Добавляет каждую строку из потока в контейнер, считая ее правильным заголовком.
THttpHeaders(IInputStream* stream);