Commit 4c3dc1ba authored by Andrey Mirtchovski's avatar Andrey Mirtchovski Committed by Brad Fitzpatrick

net/http: Fix a verb-tense mismatch and a typo in documentation.

R=bradfitz
CC=golang-dev
https://golang.org/cl/6357049
parent 72a2abf8
...@@ -848,13 +848,13 @@ func RedirectHandler(url string, code int) Handler { ...@@ -848,13 +848,13 @@ func RedirectHandler(url string, code int) Handler {
// patterns and calls the handler for the pattern that // patterns and calls the handler for the pattern that
// most closely matches the URL. // 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). // or rooted subtrees, like "/images/" (note the trailing slash).
// Longer patterns take precedence over shorter ones, so that // Longer patterns take precedence over shorter ones, so that
// if there are handlers registered for both "/images/" // if there are handlers registered for both "/images/"
// and "/images/thumbnails/", the latter handler will be // and "/images/thumbnails/", the latter handler will be
// called for paths beginning "/images/thumbnails/" and the // 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. // "/images/" subtree.
// //
// Patterns may optionally begin with a host name, restricting matches to // Patterns may optionally begin with a host name, restricting matches to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment