LavinMQ::HTTP::Router
Inherits HTTP::Handler
Class methods
%XX of an unreserved char is equivalent to the char (RFC 3986 6.2.2.2), so decode those to let literal segments match. The rest stays encoded: %2F must not become a separator, and decoded non-ASCII bytes could be invalid UTF-8, which makes Regex#match raise. A bare % is escaped so it can't pair with decoded digits into a new escape for URI.decode.
Instance methods
call(context)
Sourcefind_route(method, path)
Source