diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2022-08-25 13:28:58 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2022-08-25 13:28:58 -0600 |
commit | 2cc5d38229d92838b2753fd0e67e083f70251f75 (patch) | |
tree | f7a768ffb874b36d47557a73d36703a40b31c014 /modules/caddyhttp | |
parent | 66596f2d74dfbd876cbd140467491951b69dec5c (diff) |
Fix comment indentation
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r-- | modules/caddyhttp/replacer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/replacer.go b/modules/caddyhttp/replacer.go index 76c1c87..17fc02e 100644 --- a/modules/caddyhttp/replacer.go +++ b/modules/caddyhttp/replacer.go @@ -169,7 +169,7 @@ func addHTTPVarsToReplacer(repl *caddy.Replacer, req *http.Request, w http.Respo req.Body = io.NopCloser(buf) // replace real body with buffered data return buf.String(), true - // original request, before any internal changes + // original request, before any internal changes case "http.request.orig_method": or, _ := req.Context().Value(OriginalRequestCtxKey).(http.Request) return or.Method, true |