]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1] net/http: Fix a verb-tense mismatch and a typo in documentation.
authorAndrey Mirtchovski <mirtchovski@gmail.com>
Fri, 21 Sep 2012 19:53:54 +0000 (05:53 +1000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 21 Sep 2012 19:53:54 +0000 (05:53 +1000)
««« backport f8a77e2b7d0b
net/http: Fix a verb-tense mismatch and a typo in documentation.

R=bradfitz
CC=golang-dev
https://golang.org/cl/6357049

»»»

src/pkg/net/http/server.go

index 2c4e78dab8f897476ada9fdcd440a54863d91e29..d6e9230ba519a124e4550610801a0f64988913e5 100644 (file)
@@ -822,13 +822,13 @@ func RedirectHandler(url string, code int) Handler {
 // patterns and calls the handler for the pattern that
 // most closely matches the URL.
 //
-// Patterns named fixed, rooted paths, like "/favicon.ico",
+// Patterns name fixed, rooted paths, like "/favicon.ico",
 // or rooted subtrees, like "/images/" (note the trailing slash).
 // Longer patterns take precedence over shorter ones, so that
 // if there are handlers registered for both "/images/"
 // and "/images/thumbnails/", the latter handler will be
 // called for paths beginning "/images/thumbnails/" and the
-// former will receiver requests for any other paths in the
+// former will receive requests for any other paths in the
 // "/images/" subtree.
 //
 // Patterns may optionally begin with a host name, restricting matches to