def request.parse

gralha-http-core@0.1.0.0 · http.bend:253

import gralha-http-core@0.1.0.0/http.bend as Http
import Base

253# A request: "METHOD target HTTP/x.y", header lines, a blank line, the body
254# (all that follows it). None when the head is unfinished or malformed.
255def request.parse(text: String) -> Maybe<&2, Request>:
256  request.cut(cut(text, "\r\n\r\n"))

Uses (5)

Used by (1)