Browse Source

Clarify more of `SkipClean`

pull/154/head
Jingwen Owen Ou 10 years ago
parent
commit
a41434aac3
  1. 2
      mux.go

2
mux.go

@ -138,7 +138,7 @@ func (r *Router) StrictSlash(value bool) *Router { @@ -138,7 +138,7 @@ func (r *Router) StrictSlash(value bool) *Router {
}
// SkipClean defines the path cleaning behaviour for new routes. The initial
// value is false.
// value is false. Users should be careful about which routes are not cleaned
//
// When true, if the route path is "/path//to", it will remain with the double
// slash. This is helpful if you have a route like: /fetch/http://xkcd.com/534/

Loading…
Cancel
Save