Matthew Holt
3 years ago
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5
1 changed files with
4 additions and
0 deletions
-
modules/caddyhttp/templates/templates.go
|
@ -153,6 +153,10 @@ func init() { |
|
|
// {{.Req.Header.Get "User-Agent"}}
|
|
|
// {{.Req.Header.Get "User-Agent"}}
|
|
|
// ```
|
|
|
// ```
|
|
|
//
|
|
|
//
|
|
|
|
|
|
// ##### `.OriginalReq`
|
|
|
|
|
|
//
|
|
|
|
|
|
// Like .Req, except it accesses the original HTTP request before rewrites or other internal modifications.
|
|
|
|
|
|
//
|
|
|
// ##### `.RespHeader.Add`
|
|
|
// ##### `.RespHeader.Add`
|
|
|
//
|
|
|
//
|
|
|
// Adds a header field to the HTTP response.
|
|
|
// Adds a header field to the HTTP response.
|
|
|