aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/misc/httpreqdata.cpp
diff options
context:
space:
mode:
authoranterpin <anterpin@yandex-team.com>2025-03-31 21:42:47 +0300
committeranterpin <anterpin@yandex-team.com>2025-03-31 21:54:42 +0300
commit2d512f78c593c3f4573742129c281d0fc5479de0 (patch)
treecdcec50b000439b5fe361c524d4e66a8e340b4a8 /library/cpp/http/misc/httpreqdata.cpp
parent57acd8934a357817125b6a17e79fe89d035b1d24 (diff)
downloadydb-2d512f78c593c3f4573742129c281d0fc5479de0.tar.gz
Add Body to report
Add test Add body to reqenv commit_hash:222fa588fa7d7a7f65869bd997d32610e78b7378
Diffstat (limited to 'library/cpp/http/misc/httpreqdata.cpp')
-rw-r--r--library/cpp/http/misc/httpreqdata.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/cpp/http/misc/httpreqdata.cpp b/library/cpp/http/misc/httpreqdata.cpp
index ed5e8872c92..028418bc4a0 100644
--- a/library/cpp/http/misc/httpreqdata.cpp
+++ b/library/cpp/http/misc/httpreqdata.cpp
@@ -81,6 +81,8 @@ TStringBuf TBaseServerRequestData::Environment(TStringBuf key) const {
return ip ? *ip : RemoteAddr();
} else if (ciKey == "QUERY_STRING") {
return Query();
+ } else if (ciKey == "BODY") {
+ return Body();
} else if (ciKey == "SERVER_NAME") {
return ServerName();
} else if (ciKey == "SERVER_PORT") {