templates: Document .OriginalReq

Close caddyserver/website#91
This commit is contained in:
Matthew Holt 2022-01-05 13:59:59 -07:00
parent 2e46c2ac1d
commit 6cadb60fa2
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -153,6 +153,10 @@ func init() {
// {{.Req.Header.Get "User-Agent"}}
// ```
//
// ##### `.OriginalReq`
//
// Like .Req, except it accesses the original HTTP request before rewrites or other internal modifications.
//
// ##### `.RespHeader.Add`
//
// Adds a header field to the HTTP response.