SkipClean defines the path cleaning behaviour for new routes. The initial 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/53
(value bool)
| 256 | // When false, the path will be cleaned, so /fetch/http://xkcd.com/534/ will |
| 257 | // become /fetch/http/xkcd.com/534 |
| 258 | func (r *Router) SkipClean(value bool) *Router { |
| 259 | r.skipClean = value |
| 260 | return r |
| 261 | } |
| 262 | |
| 263 | // UseEncodedPath tells the router to match the encoded original path |
| 264 | // to the routes. |
no outgoing calls