def respond.of.body
import emerging-ezhttp@0.21.0.0/src/http.bend as Httpimport Base
1077# drop a 204/304 body; any other status keeps it
1078def respond.of.body(+status: U32, headers: List<&2, Header>, body: String,
1079 drop: Bool) -> String:
1080 match drop:
1081 case True{}:
1082 respond(status, headers, "")
1083 case False{}:
1084 respond(status, headers, body)