xenomachina
04/23/2018, 6:05 AMRoutingHttpHandler
because I was wanted one that would delegate to an underlying RoutingHttpHandler
, but redirect any uris that did not end with a slash to add the slash based on whether the delegate could handle the uri with/without the slash. I was trying to do it as a RoutingHttpHandler
rather than a Filter
because I was hoping that match
would help me distinguish between these cases. It turned out that the fact that routes
treats "/foo/" and "/foo" the same made this unworkable (even as a Filter
), hence issue #122. For now I have a Filter
I apply at each "dir-like' route, but it doesn't work for static
.