diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-09-11 15:29:46 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-09-11 15:44:37 +0300 |
commit | e6e46da89d32d38a3e8755812c6b8b4288c0cb59 (patch) | |
tree | 82ed823fae7c31bfff2e8db3c198013cde555c04 /library/cpp | |
parent | 791acdc0eb1c623ee243d50b9a2545daca2f5be9 (diff) | |
download | ydb-e6e46da89d32d38a3e8755812c6b8b4288c0cb59.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/http/push_parser/http_parser.cpp | 4 | ||||
-rw-r--r-- | library/cpp/http/push_parser/http_parser.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/library/cpp/http/push_parser/http_parser.cpp b/library/cpp/http/push_parser/http_parser.cpp index a646b349a3..b7b0a82bec 100644 --- a/library/cpp/http/push_parser/http_parser.cpp +++ b/library/cpp/http/push_parser/http_parser.cpp @@ -44,6 +44,10 @@ TString THttpParser::GetBestCompressionScheme() const { return TString(); } +const THashSet<TString>& THttpParser::AcceptedEncodings() const { + return AcceptEncodings_; +} + bool THttpParser::FirstLineParser() { if (Y_UNLIKELY(!ReadLine())) { return false; diff --git a/library/cpp/http/push_parser/http_parser.h b/library/cpp/http/push_parser/http_parser.h index af3ce46dbd..64d7b12ea5 100644 --- a/library/cpp/http/push_parser/http_parser.h +++ b/library/cpp/http/push_parser/http_parser.h @@ -100,6 +100,8 @@ public: TString GetBestCompressionScheme() const; + const THashSet<TString>& AcceptedEncodings() const; + const TString& Content() const noexcept { return Content_; } |