Module Http.Meth
HTTP request methods
val decode : string -> (meth, string) Stdlib.result
decode s
decodes an HTTP method froms
.
val encode : meth -> string
encode m
encodesm
to an HTTP method.- raises Invalid_argument
if
m
is`Other t
andt
is not aH.is_token
.
val pp : Stdlib.Format.formatter -> meth -> unit
pp
is an unspecified formatter for methods.