Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
4c3dc1ba
Commit
4c3dc1ba
authored
Jun 28, 2012
by
Andrey Mirtchovski
Committed by
Brad Fitzpatrick
Jun 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/http: Fix a verb-tense mismatch and a typo in documentation.
R=bradfitz CC=golang-dev
https://golang.org/cl/6357049
parent
72a2abf8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
server.go
src/pkg/net/http/server.go
+2
-2
No files found.
src/pkg/net/http/server.go
View file @
4c3dc1ba
...
@@ -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 name
d
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 receive
r
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment