caddyhttp: Add {http.request.body} placeholder

This commit is contained in:
Matthew Holt 2020-07-16 19:25:37 -06:00
parent 6eafd4e82f
commit 6f0f159ba5
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
2 changed files with 22 additions and 0 deletions

View file

@ -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