From: Andrey Mirtchovski Date: Fri, 21 Sep 2012 19:53:54 +0000 (+1000) Subject: [release-branch.go1] net/http: Fix a verb-tense mismatch and a typo in documentation. X-Git-Tag: go1.0.3~180 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e3bc1e4206d6d55b7f31aee3d6e3de80de16bc1f;p=gostls13.git [release-branch.go1] net/http: Fix a verb-tense mismatch and a typo in documentation. ««« backport f8a77e2b7d0b net/http: Fix a verb-tense mismatch and a typo in documentation. R=bradfitz CC=golang-dev https://golang.org/cl/6357049 »»» --- diff --git a/src/pkg/net/http/server.go b/src/pkg/net/http/server.go index 2c4e78dab8..d6e9230ba5 100644 --- a/src/pkg/net/http/server.go +++ b/src/pkg/net/http/server.go @@ -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