def step.octets
import emerging-ezhttp@0.21.0.0/src/step.bend as Stepimport 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