mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-24 02:02:26 -04:00
Fix comment indentation
This commit is contained in:
parent
66596f2d74
commit
2cc5d38229
@ -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
|
req.Body = io.NopCloser(buf) // replace real body with buffered data
|
||||||
return buf.String(), true
|
return buf.String(), true
|
||||||
|
|
||||||
// original request, before any internal changes
|
// original request, before any internal changes
|
||||||
case "http.request.orig_method":
|
case "http.request.orig_method":
|
||||||
or, _ := req.Context().Value(OriginalRequestCtxKey).(http.Request)
|
or, _ := req.Context().Value(OriginalRequestCtxKey).(http.Request)
|
||||||
return or.Method, true
|
return or.Method, true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user