Something went wrong. Try again.
An adversarial testing framework for OCaml HTTP/1.1 clients and servers
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940module Status : sig type t = Exactly of int | One_of of int Nonempty.t
val exactly : int -> t val matches : t -> int -> boolend
module Body : sig type t = Exact of string | Prefix of string | Any
val matches : t -> string -> boolend
module Field : sig type t = | Present of Fields.name | Absent of Fields.name | Contains of Fields.name * string | First of Fields.name * string | Exactly of Fields.name * string list
val matches : t -> Fields.t -> boolend
type t = { status : Status.t; body : Body.t; headers : Field.t list; trailers : Field.t list;}
type message = { status : int; body : string; headers : Fields.t; trailers : Fields.t;}
val matches : t -> message -> bool