aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/neh/http_common.h
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2023-06-30 17:09:50 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2023-06-30 17:09:50 +0300
commit97664d8dda87c01b255d33055b33d1209de5e0fe (patch)
treeff316dd506766884405213d585fa0097167bc1ad /library/cpp/neh/http_common.h
parentd4d31d3a7786d8351e5abd7227013217df3895b3 (diff)
downloadydb-97664d8dda87c01b255d33055b33d1209de5e0fe.tar.gz
Intermediate changes
Diffstat (limited to 'library/cpp/neh/http_common.h')
-rw-r--r--library/cpp/neh/http_common.h4
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;
}