diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-06-30 17:09:50 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-06-30 17:09:50 +0300 |
commit | 97664d8dda87c01b255d33055b33d1209de5e0fe (patch) | |
tree | ff316dd506766884405213d585fa0097167bc1ad /library/cpp/neh/http_common.h | |
parent | d4d31d3a7786d8351e5abd7227013217df3895b3 (diff) | |
download | ydb-97664d8dda87c01b255d33055b33d1209de5e0fe.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp/neh/http_common.h')
-rw-r--r-- | library/cpp/neh/http_common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/cpp/neh/http_common.h b/library/cpp/neh/http_common.h index d19d1e4522..69659ba907 100644 --- a/library/cpp/neh/http_common.h +++ b/library/cpp/neh/http_common.h @@ -147,7 +147,7 @@ namespace NNeh { } TVector<char> Mem; - + TString Data; private: TParts Parts_; }; @@ -215,6 +215,7 @@ namespace NNeh { req->AddPart(req->Mem.data(), out.Buf() - req->Mem.data()); req->AddPart(msg.Data.data(), msg.Data.size()); + req->Data = msg.Data; return req; } @@ -231,6 +232,7 @@ namespace NNeh { static TRequestData::TPtr Build(const TMessage& msg, const TParsedLocation&) { TRequestData::TPtr req(new TRequestData(0)); req->AddPart(msg.Data.data(), msg.Data.size()); + req->Data = msg.Data; return req; } |