summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/app.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-07-16 19:25:37 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2020-07-16 19:25:37 -0600
commit6f0f159ba56adeb6e2cbbb408651419b87f20856 (patch)
tree8717630e518b964358c6873a3c740403c1851047 /modules/caddyhttp/app.go
parent6eafd4e82fbf894067e474b4cffa5d3d8498705d (diff)
caddyhttp: Add {http.request.body} placeholder
Diffstat (limited to 'modules/caddyhttp/app.go')
-rw-r--r--modules/caddyhttp/app.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddyhttp/app.go b/modules/caddyhttp/app.go
index 45845ea..40ae3a2 100644
--- a/modules/caddyhttp/app.go
+++ b/modules/caddyhttp/app.go
@@ -47,6 +47,7 @@ func init() {
//
// Placeholder | Description
// ------------|---------------
+// `{http.request.body}` | The request body (⚠️ inefficient; use only for debugging)
// `{http.request.cookie.*}` | HTTP request cookie
// `{http.request.header.*}` | Specific request header field
// `{http.request.host.labels.*}` | Request host labels (0-based from right); e.g. for foo.example.com: 0=com, 1=example, 2=foo