Skip to content

Tags: icattlecoder/mux

Tags

v1.7.3

Toggle v1.7.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update stale.yml (gorilla#494)

v1.7.2

Toggle v1.7.2's commit message
host:port matching does not require a :port to be specified.

In lieu of checking the template pattern on every Match request, a bool is added to the routeRegexp, and set
if the routeRegexp is a host AND there is no ":" in the template. I dislike extending the type, but I'd dislike
doing a string match on every single Match, even more.

v1.7.1

Toggle v1.7.1's commit message
[build] Remove sudo setting from travis.yml (gorilla#462)

v1.7.0

Toggle v1.7.0's commit message
replace rr.HeaderMap by rr.Header() (gorilla#443)

v1.6.2

Toggle v1.6.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[docs] Improve docstrings for middleware, skipclean (gorilla#375)

v1.6.1

Toggle v1.6.1's commit message
[feat] Add middleware support as discussed in gorilla#293 (gorilla#294)

* mux.Router now has a `Use` method that allows you to add middleware to request processing.

v1.6.0

Toggle v1.6.0's commit message
MatchErr is set to ErrNotFound if NotFoundHandler is used (gorilla#311)

v1.5.0

Toggle v1.5.0's commit message
[docs] README.md: add missing `.` (gorilla#292)

v1.4.0

Toggle v1.4.0's commit message
Support building URLs with non-http schemes. (gorilla#260)

* Move misplaced tests and fix comments.

* Support building URLs with non-http schemes.

- Capture first scheme configured for a route for use when building
  URLs.
- Add new Route.URLScheme method similar to URLHost and URLPath.
- Update Route.URLHost and Route.URL to use the captured scheme if
  present.

* Remove Route.URLScheme method.

* Remove UTF-8 BOM.

v1.3.0

Toggle v1.3.0's commit message
[bugfix] fail fast if regex is incorrectly specified using capturing …

…groups. (gorilla#218)