diff options
author | anterpin <anterpin@yandex-team.com> | 2025-03-31 21:42:47 +0300 |
---|---|---|
committer | anterpin <anterpin@yandex-team.com> | 2025-03-31 21:54:42 +0300 |
commit | 2d512f78c593c3f4573742129c281d0fc5479de0 (patch) | |
tree | cdcec50b000439b5fe361c524d4e66a8e340b4a8 /library/cpp/http/misc/httpreqdata.cpp | |
parent | 57acd8934a357817125b6a17e79fe89d035b1d24 (diff) | |
download | ydb-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.cpp | 2 |
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") { |