aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http
diff options
context:
space:
mode:
authorrisenberg <risenberg@yandex-team.ru>2022-02-10 16:49:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:48 +0300
commit99ac40630808727955ac0448822228528f1ea92d (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http
parentec551e975caf33bd88e2803b55464cad608e2441 (diff)
downloadydb-99ac40630808727955ac0448822228528f1ea92d.tar.gz
Restoring authorship annotation for <risenberg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http')
-rw-r--r--library/cpp/http/io/stream_ut.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/http/io/stream_ut.cpp b/library/cpp/http/io/stream_ut.cpp
index 11bbc9abd4..1ea35df675 100644
--- a/library/cpp/http/io/stream_ut.cpp
+++ b/library/cpp/http/io/stream_ut.cpp
@@ -409,16 +409,16 @@ Y_UNIT_TEST_SUITE(THttpStreamTest) {
r += "<html>Hello</html>";
TStringInput stringInput(r);
THttpInput input(&stringInput);
-
+
const THttpHeaders& httpHeaders = input.Headers();
UNIT_ASSERT_VALUES_EQUAL(httpHeaders.Count(), 3u);
-
+
THttpHeaders::TConstIterator it = httpHeaders.Begin();
UNIT_ASSERT_VALUES_EQUAL(it->ToString(), TString(headerLine1));
UNIT_ASSERT_VALUES_EQUAL((++it)->ToString(), TString::Join(headerLine2, headerLine3));
UNIT_ASSERT_VALUES_EQUAL((++it)->ToString(), TString(headerLine4));
}
-
+
Y_UNIT_TEST(ContentLengthRemoval) {
TMemoryInput request("GET / HTTP/1.1\r\nAccept-Encoding: gzip\r\n\r\n");
THttpInput i(&request);