You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm still confused after reading the README and skimming the code. It seemed like you were implying Julien's code doesn't support /foo/:a/bar/:b, but that seems to work just fine.
The text was updated successfully, but these errors were encountered:
Sorry if it was unclear. The difference only shows up when more than one route is in use. httptreemux supports simultaneously having routes such as:
/foo/:a/bar/:b
/foo/abc/:d
httprouter will complain that :a and abc conflict, as a path segment containing a wildcard is not allowed to contain anything else. I should note that this limitation in Julien's code is by design, not a flaw, as he wanted to keep the routing rules simple.
Hope that makes sense. Please let me know if it doesn't and I'll come up with some other examples.
I'm still confused after reading the README and skimming the code. It seemed like you were implying Julien's code doesn't support /foo/:a/bar/:b, but that seems to work just fine.
The text was updated successfully, but these errors were encountered: