]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: Fix a verb-tense mismatch and a typo in documentation.
authorAndrey Mirtchovski <mirtchovski@gmail.com>
Thu, 28 Jun 2012 22:18:35 +0000 (15:18 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 28 Jun 2012 22:18:35 +0000 (15:18 -0700)
R=bradfitz
CC=golang-dev
https://golang.org/cl/6357049

src/pkg/net/http/server.go

index 905a833c95775b9a87d83934610ba5cc2c4dadf5..a6828dd4517d980eb9914426b78e0aa264fb4937 100644 (file)
@@ -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