Module Http.Private
val decode_request_line : bytes -> first:int -> crlf:int -> meth * string * version
decode_request_line b ~first ~crlf
decodes a request line that starts atfirst
and whose ending CRLF starts atcrlf
. RaisesFailure
on errors.
val decode_header_field : bytes -> first:int -> crlf:int -> name * string
decode_header_field b ~first ~crlf
decodes a header field that starts atfirst
and whose ending CRLF starts atcrlf
. RaisesFailure
on errors.