Kamil Kisiel
9cb89f07ca
Add a couple of additional tests for query strings.
11 years ago
Bay Dodd
0c9d5c08c1
refactoring
11 years ago
Bay Dodd
a710a8bfa9
adding ^ and $ to query pattern
11 years ago
Clint Ryan
306509329b
Merge branch 'master' of https://github.com/eastwood/mux
...
Conflicts:
mux.go
11 years ago
Clint Ryan
c21431a6cd
Fixed up commenting and removed unused code
11 years ago
Craig Jellick
c0a5cbce5a
Fix typo
...
Issue #16 : Added regex support for matching headers
Issue #16 : Addressed code review and refactored support for regex into
a separate function
Added compiled regex to route matcher
11 years ago
Craig Jellick
a063f14812
Fix typo
...
Issue #16 : Added regex support for matching headers
Issue #16 : Addressed code review and refactored support for regex into
a separate function
Added compiled regex to route matcher
11 years ago
Kamil Kisiel
47e8f450ef
Merge pull request #98 from cjellick/doc-fix
...
Fix typo
11 years ago
Craig Jellick
77f424d3ae
Fix typo
11 years ago
Kamil Kisiel
94903de8c9
Merge pull request #89 from gemnasium/add_tests_for_pipe
...
Add complementary test for patterns with pipe
11 years ago
Kamil Kisiel
660d31f860
Merge pull request #93 from shurcooL/patch-1
...
Fix up doc formatting, use spaces for alignment (tabs are for indentation only).
11 years ago
Dmitri Shuralyov
9641367e95
Fix up doc formatting, use spaces for alignment (tabs are for indentation only).
...
This fixes issue where if user has tab width other than 4, some lines will become misaligned. For example, see the package description at https://godoc.org/github.com/gorilla/mux .
11 years ago
Kamil Kisiel
8096f47503
Merge pull request #88 from gemnasium/add_tests_for_pipe
...
Add tests for patterns with pipe
11 years ago
Philippe Lafoucrière
e98fd88cbd
Add complementary test for patterns with pipe
11 years ago
Philippe Lafoucrière
00bf0e01a1
Add tests for patterns with pipe
...
closes #62
11 years ago
Kamil Kisiel
8a875a034c
Merge pull request #52 from sqs/BuildVarsFunc
...
BuildVarsFunc: modify route variables before building the URL from a route
11 years ago
Kamil Kisiel
e444e69cbd
Merge pull request #71 from Madrigal/patch-1
...
Rearrange code
11 years ago
Felipe Madrigal
d7e4639818
Rearrange rules for matching strict slash
11 years ago
Felipe Madrigal
8df3a80fb8
Rearrange getHost function
11 years ago
Kamil Kisiel
4b8fbc56f3
Merge pull request #67 from pwaller/patch-1
...
Remove blank line to fix docs for Route.Queries
12 years ago
Peter Waller
8f1a419c38
Remove blank line to fix docs for Route.Queries
...
The presence of a blank line was preventing the documentation from appearing in godoc.
12 years ago
Kamil Kisiel
14cafe2851
Merge pull request #60 from roylee17/gofmt
...
gofmt
12 years ago
Tzu-Jung Lee
3351f602a5
gofmt
12 years ago
Kamil Kisiel
854d482e26
Fix racy modification of NotFoundHandler.
12 years ago
Kamil Kisiel
0ef595e787
Merge pull request #56 from raphael/query-vars
...
Fix "Queries" matcher to support out-of-order query string parameters
12 years ago
Raphael Simon
451fd8b779
Additional code cleanup (see comments on issue #56 )
12 years ago
Raphael Simon
3505396fb5
Code cleanup (see comments on issue #56 )
12 years ago
Raphael Simon
69237eaae5
Fix "Queries" matcher to support out-of-order query string parameters
12 years ago
Kamil Kisiel
2900ff05a4
Merge pull request #55 from raphael/query-vars
...
Add ability to capture variables in query strings
12 years ago
Raphael Simon
0a0d6a1b2a
Add tests for regexp variables in query strings
...
Fix how regular expression gets built for query string so that order of parameters is always preserved
12 years ago
Raphael Simon
c9469524da
Fix old tests
...
Remove tests that don't apply anymore
Fix scheme matcher tests
12 years ago
Raphael Simon
65cc9b5df8
Add ability to capture variables in query strings
12 years ago
Kamil Kisiel
136d54f81f
Merge pull request #51 from ttencate/master
...
Make PathPrefix more polite towards StrictSlash setting, and add better tests for the latter
12 years ago
Quinn Slack
a883d5a9b9
Call parent BuildVarsFuncs
12 years ago
Quinn Slack
cef3b0cd6d
Add BuildVarsFunc to allow modifying route variables before generating a route's URL
12 years ago
Thomas ten Cate
b864f07c53
Propagate StrictSlash to subrouters instead of rudely turning it off
12 years ago
Thomas ten Cate
3509745ae8
Add tests for all four StrictSlash cases
12 years ago
Thomas ten Cate
bac1372129
Convert TestStrictSlash to a table driven test
12 years ago
Thomas ten Cate
033224c12e
Document behaviour of StrictSlash and PathPrefix better, and add tests to nail this down
12 years ago
Thomas ten Cate
525eff436e
Improve docs about leading and trailing slashes
12 years ago
Kamil Kisiel
270c42505a
Merge pull request #49 from sqs/gofmt
...
Apply gofmt
12 years ago
Quinn Slack
9ee70e572c
gofmt
12 years ago
Kamil Kisiel
9ede152210
Add go 1.2 to travis.yml
12 years ago
Kamil Kisiel
c4e0d8b371
Merge pull request #41 from pschlump/master
...
Fix to keep query string intact when 301 redirect occurs.
12 years ago
Kamil Kisiel
e807f7c338
Add Travis badge
12 years ago
Kamil Kisiel
3829d74241
Add travis.yml
12 years ago
Kamil Kisiel
db86729398
Merge pull request #43 from andrewsmedina/gofmt
...
go fmt.
12 years ago
Andrews Medina
cebebed6c4
go fmt.
...
result of `gofmt -s -w . `.
12 years ago
Philip Schlump
ab8ae247f1
Fixed the domain name copied from my other code to be example.com
12 years ago
Philip Schlump
6689ee8243
Cleaned up testing.
12 years ago