mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-27 23:03:37 -05:00
Fix comment indentation
This commit is contained in:
parent
66596f2d74
commit
2cc5d38229
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue