summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/reverseproxy/copyresponse.go
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2022-03-13 01:38:11 -0500
committerGitHub <noreply@github.com>2022-03-13 01:38:11 -0500
commita9c7e94a38e4f4719a5c1cf7f3e11e8cf427f04e (patch)
treeef09257fc3517682dfe60d20b48d860df7b5bde6 /modules/caddyhttp/reverseproxy/copyresponse.go
parent3d616e8c6d65e5617f5a918d72fb1514c9c7144e (diff)
chore: Comment fixes (#4634)
Diffstat (limited to 'modules/caddyhttp/reverseproxy/copyresponse.go')
-rw-r--r--modules/caddyhttp/reverseproxy/copyresponse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/copyresponse.go b/modules/caddyhttp/reverseproxy/copyresponse.go
index 174ffa7..72a55d4 100644
--- a/modules/caddyhttp/reverseproxy/copyresponse.go
+++ b/modules/caddyhttp/reverseproxy/copyresponse.go
@@ -66,7 +66,7 @@ func (h CopyResponseHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request
}
// allow a custom status code to be written; otherwise the
- // status code from the upstream resposne is written
+ // status code from the upstream response is written
if codeStr := h.StatusCode.String(); codeStr != "" {
intVal, err := strconv.Atoi(repl.ReplaceAll(codeStr, ""))
if err != nil {