Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 13, 14:15 UTC
Fix comment indentation
Matthew Holt committed
Aug 25, 2022 at 13:28 UTC
2cc5d38229d92838b2753fd0e67e083f70251f75
1 file changed
+1
-1
modules/caddyhttp/replacer.go
+1
-1
@@ -169,7 +169,7 @@ func addHTTPVarsToReplacer(repl *caddy.Replacer, req *http.Request, w http.Respo
169
req.Body = io.NopCloser(buf) // replace real body with buffered data
170
return buf.String(), true
171
172
- // original request, before any internal changes
172
+ // original request, before any internal changes
173
case "http.request.orig_method":
174
or, _ := req.Context().Value(OriginalRequestCtxKey).(http.Request)
175
return or.Method, true