module Cgi_args: sig
.. end
val parse : string -> (string * string) list
parse qs
parses up a standard CGI query string (such as
"a=1&b=2"
), and returns the list of name, value pairs. This
is a helper function. The cgi
class does this parsing for
you, so you shouldn't need to use this function unless you're
doing something out of the ordinary.
val make : (string * string) list -> string
make bindings
returns a query string from the list
bindings
of name, value pairs. For example, make
[("a", "1"); ("b", "2")]
returns "a=1&b=2"
.