tiny_httpd/src/bin/http.mli
2022-03-30 12:21:47 -04:00

9 lines
260 B
OCaml

(* The purpose of this module isn't to be a full blown http parser but rather to
only parse whatever curl otputs *)
type response =
{ code: int
; headers: (string * string) list
; body: string
}
val response : response -> Lexing.lexbuf -> response