aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http
diff options
context:
space:
mode:
authortkhanipov <tkhanipov@yandex-team.ru>2022-02-10 16:49:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:46 +0300
commit60a6df6d382906cd4ca6cd885920b3c20820170e (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http
parent60c0dade397b9b2f9a22f5daa5b2ea5e433e6e40 (diff)
downloadydb-60a6df6d382906cd4ca6cd885920b3c20820170e.tar.gz
Restoring authorship annotation for <tkhanipov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http')
-rw-r--r--library/cpp/http/io/stream.cpp16
-rw-r--r--library/cpp/http/io/stream.h12
-rw-r--r--library/cpp/http/io/stream_ut_medium.cpp4
-rw-r--r--library/cpp/http/io/ut/medium/ya.make6
4 files changed, 19 insertions, 19 deletions
diff --git a/library/cpp/http/io/stream.cpp b/library/cpp/http/io/stream.cpp
index f96ef5b1b2..6689be684f 100644
--- a/library/cpp/http/io/stream.cpp
+++ b/library/cpp/http/io/stream.cpp
@@ -619,10 +619,10 @@ public:
return SupportChunkedTransfer() && IsKeepAliveEnabled() && (Request_ ? Request_->IsKeepAlive() : true);
}
- inline const TString& FirstLine() const noexcept {
- return FirstLine_;
- }
-
+ inline const TString& FirstLine() const noexcept {
+ return FirstLine_;
+ }
+
inline size_t SentSize() const noexcept {
return SizeCalculator_.Length();
}
@@ -958,10 +958,10 @@ void THttpOutput::SendContinue() {
Impl_->SendContinue();
}
-const TString& THttpOutput::FirstLine() const noexcept {
- return Impl_->FirstLine();
-}
-
+const TString& THttpOutput::FirstLine() const noexcept {
+ return Impl_->FirstLine();
+}
+
size_t THttpOutput::SentSize() const noexcept {
return Impl_->SentSize();
}
diff --git a/library/cpp/http/io/stream.h b/library/cpp/http/io/stream.h
index 9b4c4c25f5..78ca4fc814 100644
--- a/library/cpp/http/io/stream.h
+++ b/library/cpp/http/io/stream.h
@@ -147,12 +147,12 @@ public:
void SendContinue();
- /*
- * first line - response or request
- */
- /// Возвращает первую строку HTTP-запроса/ответа
- const TString& FirstLine() const noexcept;
-
+ /*
+ * first line - response or request
+ */
+ /// Возвращает первую строку HTTP-запроса/ответа
+ const TString& FirstLine() const noexcept;
+
/// Возвращает размер отправленных данных (без заголовков, с учётом сжатия, без
/// учёта chunked transfer encoding)
size_t SentSize() const noexcept;
diff --git a/library/cpp/http/io/stream_ut_medium.cpp b/library/cpp/http/io/stream_ut_medium.cpp
index 8bcf1207c4..2c125eb21e 100644
--- a/library/cpp/http/io/stream_ut_medium.cpp
+++ b/library/cpp/http/io/stream_ut_medium.cpp
@@ -2,7 +2,7 @@
#include <library/cpp/testing/unittest/registar.h>
#include <util/stream/zlib.h>
-Y_UNIT_TEST_SUITE(THttpTestMedium) {
+Y_UNIT_TEST_SUITE(THttpTestMedium) {
Y_UNIT_TEST(TestCodings2) {
TStringBuf data = "aaaaaaaaaaaaaaaaaaaaaaa";
@@ -51,4 +51,4 @@ Y_UNIT_TEST_SUITE(THttpTestMedium) {
}
}
-} // THttpTestMedium suite
+} // THttpTestMedium suite
diff --git a/library/cpp/http/io/ut/medium/ya.make b/library/cpp/http/io/ut/medium/ya.make
index 9addf90942..235a23dcd7 100644
--- a/library/cpp/http/io/ut/medium/ya.make
+++ b/library/cpp/http/io/ut/medium/ya.make
@@ -1,11 +1,11 @@
UNITTEST_FOR(library/cpp/http/io)
-SIZE(MEDIUM)
-
+SIZE(MEDIUM)
+
OWNER(g:util)
SRCS(
- stream_ut_medium.cpp
+ stream_ut_medium.cpp
)
END()