1
0
mirror of https://github.com/golang/go synced 2024-11-23 18:30:06 -07:00

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>
This commit is contained in:
Ian Lance Taylor 2017-07-18 13:29:47 -07:00
parent 73d0273573
commit 83fb9c8d9f

View 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