summaryrefslogtreecommitdiffhomepage
path: root/response.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'response.cpp')
-rw-r--r--response.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/response.cpp b/response.cpp
index 51c9603..7bbcebf 100644
--- a/response.cpp
+++ b/response.cpp
@@ -129,6 +129,8 @@ std::unordered_map<std::string, std::function<std::string(RequestContext&)>> Get
{"method", [](RequestContext& req_ctx) { return std::string{req_ctx.GetReq().method_string()};}},
+ {"plugin_path", [](RequestContext& req_ctx) { return std::string{req_ctx.GetPluginPath()};}},
+
{"rel_target", [](RequestContext& req_ctx) {return req_ctx.GetRelativePath();}},
{"target", [](RequestContext& req_ctx) {return req_ctx.GetTarget();}},