def step.octets

emerging-ezhttp@0.21.0.0 · src/step.bend:71

import emerging-ezhttp@0.21.0.0/src/step.bend as Step
import Base
import emerging-ezhttp@0.21.0.0/src/http.bend as Http

71# the body octets of a request, as they arrived; none for a bad one
72def step.octets(req: Http.Request) -> String:
73  match req:
74    case Http.Bad{why}:
75      ""
76    case Http.Request{method, target, headers, body}:
77      body

Uses (2)

Used by (1)