From: Andrey Mirtchovski Date: Thu, 28 Jun 2012 22:18:35 +0000 (-0700) Subject: net/http: Fix a verb-tense mismatch and a typo in documentation. X-Git-Tag: go1.1rc2~2858 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4c3dc1ba74dfb28f018a12219fff4e5fa83db30e;p=gostls13.git 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 905a833c95..a6828dd451 100644 --- a/src/pkg/net/http/server.go +++ b/src/pkg/net/http/server.go @@ -848,13 +848,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