aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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