Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val urlencoded :
Cohttp_lwt.Body.t ->
(string, string list) Stdlib.Hashtbl.t Lwt.t
Parse URL encoded form
val urlencoded_list : Cohttp_lwt.Body.t -> (string * string list) list Lwt.t
val urlencoded_json : Cohttp_lwt.Body.t -> Ezjsonm.t Lwt.t
Parse URL encoded form into JSON
There are a couple of big things from RFC2388 that aren't implemented yet: * 1. multipart/mixed content type may not be parsed correctly. * 2. content-transfer-encoding is currently ignored.
val get_attr : multipart -> string -> string list
val is_file : multipart -> bool
Return true when the multipart object has a filename attribute
val is_multipart : Cohttp_lwt_unix.Request.t -> bool
val multipart :
Cohttp_lwt_unix.Request.t ->
Cohttp_lwt.Body.t ->
multipart list Lwt.t
val parse_form : Cohttp_lwt_unix.Request.t -> Cohttp_lwt.Body.t -> form Lwt.t
Parse URL encoded form