Fix comment indentation

This commit is contained in:
Matthew Holt 2022-08-25 13:28:58 -06:00
parent 66596f2d74
commit 2cc5d38229
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

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