mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 07:43:17 +00:00
caddyhttp: Add {http.request.body} placeholder
This commit is contained in:
parent
6eafd4e82f
commit
6f0f159ba5
2 changed files with 22 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue