def ask.len
import emerging-ezhttp@0.21.0.0/src/http.bend as Httpimport Base
1130# Content-Length when present; else the rest of the connection is the body
1131def ask.len(method: String, target: String, headers: List<&2, Header>,
1132 m: Maybe<&2, Nat>, body: String) -> Request:
1133 match m:
1134 case None{}:
1135 Request{method, target, headers, body}
1136 case Some{n}:
1137 ask.clen(method, target, headers, n, body)