Module Restful.Url

module Url: sig .. end

Functions to manipulate the service's own URL. Typically used in a traditional CGI-style application, rather than a Restful service, to generate URL's within HTML.


type t 

The type of own-URL's.

val me : ?qs:(string * string) list -> ?pi:string list -> Netcgi.cgi -> t

me ?pi ?qs cgi: return the service's own URL, optionally replacing the QUERY_STRING (qs) or PATH_INFO (pi).

val to_string : t -> string

to_string url: convert the URL to a properly encoded string.

module P: sig .. end

Module of functions to manipulate the service's PATH_INFO.

module Q: sig .. end

Module of functions to manipulate the service's QUERY_STRING.