def ask.te.clash
import emerging-ezhttp@0.21.0.0/src/http.bend as Httpimport Base
1154# Transfer-Encoding together with Content-Length is a bad request
1155def ask.te.clash(method: String, target: String, headers: List<&2, Header>,
1156 body: String, present: Bool) -> Request:
1157 match present:
1158 case True{}:
1159 Bad{"Content-Length and Transfer-Encoding conflict"}
1160 case False{}:
1161 ask.chunks(method, target, headers, body)