]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix parameter name in comment
authorIan Lance Taylor <iant@golang.org>
Tue, 18 Jul 2017 20:29:47 +0000 (13:29 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 18 Jul 2017 21:31:15 +0000 (21:31 +0000)
Fixes #21077

Change-Id: Ic61d7313907f58ff4027fd2eee1ddb8c1656304d
Reviewed-on: https://go-review.googlesource.com/49712
Reviewed-by: Dmitri Shuralyov <shurcool@gmail.com>
src/net/http/server.go

index 736c9b83a46a52b07fccab9952045ad79584e5c0..e18a245943e05abe3423ee459a968c515de97113 100644 (file)
@@ -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