Skip to content

Commit

Permalink
net/http: fix parameter name in comment
Browse files Browse the repository at this point in the history
Fixes #21077

Change-Id: Ic61d7313907f58ff4027fd2eee1ddb8c1656304d
Reviewed-on: https://go-review.googlesource.com/49712
Reviewed-by: Dmitri Shuralyov <[email protected]>
  • Loading branch information
ianlancetaylor committed Jul 18, 2017
1 parent 73d0273 commit 83fb9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/http/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83fb9c8

Please sign in to comment.