mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
9 lines
260 B
OCaml
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
|