summaryrefslogtreecommitdiffstats
path: root/library/cpp/http/server/http_ex.cpp
diff options
context:
space:
mode:
authorAlexander Smirnov <[email protected]>2025-04-01 00:52:07 +0000
committerAlexander Smirnov <[email protected]>2025-04-01 00:52:07 +0000
commit7b1dd0572a50d5e1d1dc0d973dd7b686ec5d1cfa (patch)
tree77b99773cdbad1af81f9e310eebc0d9f361dafba /library/cpp/http/server/http_ex.cpp
parent4ae39ac0db24e7564f13a3d0545a540bd647283c (diff)
parent0afdf94708e28c1ce387764b1a93c32da0cd2350 (diff)
Merge branch 'rightlib' into merge-libs-250401-0050
Diffstat (limited to 'library/cpp/http/server/http_ex.cpp')
-rw-r--r--library/cpp/http/server/http_ex.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/cpp/http/server/http_ex.cpp b/library/cpp/http/server/http_ex.cpp
index 0681da10ff9..ead37da56d5 100644
--- a/library/cpp/http/server/http_ex.cpp
+++ b/library/cpp/http/server/http_ex.cpp
@@ -93,6 +93,7 @@ bool THttpClientRequestExtension::ProcessHeaders(TBaseServerRequestData& rd, TBl
} else {
postData = TBlob::FromStream(Input());
}
+ rd.SetBody(postData);
} catch (...) {
Output() << "HTTP/1.1 400 Bad request\r\n\r\n";
return false;