summaryrefslogtreecommitdiffhomepage
path: root/response.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-24 17:15:05 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-24 17:15:05 +0200
commit58da9654563d89039a58e4bf14a3b0e383fe93c8 (patch)
treeafde44be6c0885cdfdd03ddd9ac74e6a02236473 /response.cpp
parent1b6682c78518228b705cab2afd5a9eb595a90bbd (diff)
Fix impressum link
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();}},