Module Biocaml_internal_pervasives.Url (.ml)

module Url: sig .. end
Operations on URL-style encodings.

val escape : string -> string
Convert non-alphanumeric characters to their "%HX" URL-escaping format.
val unescape : string ->
error:(string -> 'error) ->
(string, 'error) Biocaml_internal_pervasives.Result.t
Convert a string containing "%HX" escaped characters to a normal string. In case of error, the string is passed to the ~error parameter and the function returns its result.