aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2017-07-18 13:29:47 -0700
committerIan Lance Taylor <iant@golang.org>2017-07-18 21:31:15 +0000
commit83fb9c8d9f5511f5aca2a0eb9f7507e2527a76a9 (patch)
tree46d9d6c12098ac63b035e6719e9e2c8dc02db1b9
parent73d02735734e1ed1e4d1f5a7c534206596f3903a (diff)
downloadgo-83fb9c8d9f5511f5aca2a0eb9f7507e2527a76a9.tar.gz
go-83fb9c8d9f5511f5aca2a0eb9f7507e2527a76a9.zip
net/http: fix parameter name in comment
Fixes #21077 Change-Id: Ic61d7313907f58ff4027fd2eee1ddb8c1656304d Reviewed-on: https://go-review.googlesource.com/49712 Reviewed-by: Dmitri Shuralyov <shurcool@gmail.com>
-rw-r--r--src/net/http/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/server.go b/src/net/http/server.go
index 736c9b83a4..e18a245943 100644
--- a/src/net/http/server.go
+++ b/src/net/http/server.go
@@ -1958,7 +1958,7 @@ func StripPrefix(prefix string, h Handler) Handler {
})
}
-// Redirect replies to the request with a redirect to url,
+// Redirect replies to the request with a redirect to urlStr,
// which may be a path relative to the request path.
//
// The provided code should be in the 3xx range and is usually