Module B0_http.Url

URLs.

type t = string

The type for URLs.

val scheme : string -> string option

scheme u tries to exract an URL scheme from u.

val authority : string -> string option

authority u tries to extract an URL authority (HOST:PORT) part from u.

val path_and_query : string -> string option

path_and_query u tries to extract an URL path and query part from u.