def request.parse
import gralha-http-core@0.1.0.0/http.bend as Httpimport 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"))