From 4c3dc1ba74dfb28f018a12219fff4e5fa83db30e Mon Sep 17 00:00:00 2001 From: Andrey Mirtchovski Date: Thu, 28 Jun 2012 15:18:35 -0700 Subject: [PATCH] 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.48.1