Module Biocaml_internal_utils.Url (.ml)

Operations on URL-style encodings.

module Url: 
val escape : string -> string
Convert non-alphanumeric characters to their "%HX" URL-escaping format.
val unescape : string ->
error:(string -> 'error) -> (string, 'error) Biocaml_internal_utils.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.