module Url:sig
..end
include Url_base
val fixup_url_string : t -> t
val encode : ?plus:bool -> string -> string
val decode : ?plus:bool -> string -> string
val make_encoded_parameters : (string * string) list -> string
val string_of_url_path : encode:bool -> path -> uri
val parse : t ->
bool option * string option * int option * string * string list *
string option * (string * string) list Stdlib.Lazy.t
parse url
returns a tuple containing information about url
string
without first '/'string list
val split_path : string -> string list
alias of (Ocamlnet) Neturl.split_path
val prefix_and_path_of_t : string -> string * string list
prefix_and_path_of_t url
splits url
in a couple (prefix, path)
where
prefix
is "http(s)://host:port"
and path
is the path as string list
Example: prefix_and_path_of_t "http://ocsigen.org:80/tuto/manual"
returns ("http://ocsigen.org:80", ["tuto", "manual"])
.