def request.cut

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

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

246def request.cut(c: Maybe<&1, String & String>) -> Maybe<&2, Request>:
247  match c:
248    case None{}:
249      None{}
250    case Some{(head, body)}:
251      request.head(String.split(head, '\n'), body)

Uses (8)

Used by (1)