Dave Newman
8ac5cf967f
Add SkipClean option
...
By default paths are run through the cleanPath method which prevents
using fancier paths like /fetch/http://xkcd.com/534
This adds a SkipClean option so that this path isn't redirected to
/fetch/http/xkcd.com/534
10 years ago
Dj Gilcrease
f7ac7251e3
Update doc strings based on feedback
10 years ago
Matt Silverlock
02c98b3f73
[docs] Satisfied golint.
...
- SkipRouter should also be ErrRouterSkipped (or similar) but a change would
break the public API.
10 years ago
Dj Gilcrease
0d60c4bfeb
Add tests for GetPathTemplate. Added GetHostTemplate and associated tests as well
10 years ago
Clint Ryan
8ae7a23e03
Fixed documentation from Issue 16
10 years ago
Kamil Kisiel
b0b2bc47bc
Quote domain names in README.md. Use example.com instead of domain.com
...
Fixes #119
10 years ago
Dj Gilcrease
8eb02a9f12
Add URLPathTemplate to Route to make it easier to generate a API page that lists all routes by template
11 years ago
Bay Dodd
a710a8bfa9
adding ^ and $ to query pattern
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
Craig Jellick
77f424d3ae
Fix typo
11 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
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
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
65cc9b5df8
Add ability to capture variables in query strings
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
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
Christopher Pfohl
04a79835ae
Add "of" like the rest of the function docstrings
12 years ago
moraes
eac83ba2c0
Initial files.
13 years ago