Module Spindle_http.Meth

Request methods: every one RFC 9110 §9 defines, and PATCH (RFC 5789); `Other m is any other, spelled as it came.

The set is closed at 1.0. A method registered later stays `Other m for every 1.x release, so a match on this type keeps its meaning across them.

type t = [
  1. | `GET
  2. | `HEAD
  3. | `POST
  4. | `PUT
  5. | `PATCH
  6. | `DELETE
  7. | `OPTIONS
  8. | `CONNECT
  9. | `TRACE
  10. | `Other of string
]
val to_string : t -> string
val equal : t -> t -> bool