def ask.show

emerging-ezhttp@0.21.0.0 · src/http.bend:1237

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

1237# a parsed request on one line, for a test to read
1238def ask.show(r: Request) -> String:
1239  match r:
1240    case Bad{why}:
1241      "bad " ++ why
1242    case Request{method, target, headers, body}:
1243      method ++ " " ++ target ++ " " ++ body

Uses (3)

Used by (0)

No other definition uses this definition.