Http.Method
type t = [
| `GET
| `POST
| `HEAD
| `DELETE
| `PATCH
| `PUT
| `OPTIONS
| `TRACE
| `CONNECT
| `Other of string
]
val compare : t -> t -> int
val body_allowed : t -> bool
body_allowed meth returns whether meth allows a payload body to be present per RFC7231.
body_allowed meth
meth
val of_string : string -> t
val to_string : t -> string
val pp : Stdlib.Format.formatter -> t -> unit