Tiny_httpd_core.Util
Encode the string into a valid path following https://tools.ietf.org/html/rfc3986#section-2.1
Inverse operation of percent_encode
. Can fail since some strings are not valid percent encodings.
val parse_query : string -> ((string * string) list, string) result
Parse a query as a list of '&'
or ';'
separated key=value
pairs. The order might not be preserved.
val show_sockaddr : Unix.sockaddr -> string
Simple printer for socket addresses.