def ask.te
import emerging-ezhttp@0.21.0.0/src/http.bend as Httpimport Base
1163# chunked framing, or Content-Length, or the rest of the connection
1164def ask.te(method: String, target: String, headers: List<&2, Header>,
1165 +lens: List<&2, String>, +body: String, chunked: Bool) -> Request:
1166 match chunked:
1167 case False{}:
1168 ask.len(method, target, headers, digits.read(first(lens)), body)
1169 case True{}:
1170 ask.te.clash(method, target, headers, body, clen.any(lens))