From 180ae0cc4843ecc3c7ddcb6e978ebfd474ed07f9 Mon Sep 17 00:00:00 2001 From: Rainer Borene Date: Wed, 15 Dec 2021 04:17:53 -0300 Subject: caddyhttp: Implement http.request.uuid placeholder (#4285) --- modules/caddyhttp/app.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/caddyhttp/app.go') diff --git a/modules/caddyhttp/app.go b/modules/caddyhttp/app.go index 91c31c8..64cc540 100644 --- a/modules/caddyhttp/app.go +++ b/modules/caddyhttp/app.go @@ -50,6 +50,7 @@ func init() { // `{http.request.body}` | The request body (⚠️ inefficient; use only for debugging) // `{http.request.cookie.*}` | HTTP request cookie // `{http.request.duration}` | Time up to now spent handling the request (after decoding headers from client) +// `{http.request.uuid}` | The request unique identifier // `{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 // `{http.request.host}` | The host part of the request's Host header -- cgit v1.2.3