rontolisp:url-path
(rontolisp:url-path string)
Returns the part of a URL or request-target string before the first ? (the
whole string when there is no ?). The counterpart
rontolisp:url-query returns the part after it.
Inside an rontolisp:http-handler handler the
request plist's :path already carries the path only, so this helper is
mainly for splitting URL strings on the
rontolisp:fetch (client) side.
Backend support
Works on every backend and in every WASM mode (Preview 1 included): the library is written in rontolisp itself and is compiled into the program when used.