def frame.agree
import emerging-ezhttp@0.21.0.0/src/http.bend as Httpimport Base
1273# Content-Length values that agree frame the body; any others leave the close
1274def frame.agree(+lens: List<&2, String>, ok: Bool) -> Frame:
1275 match ok:
1276 case False{}:
1277 Closed{}
1278 case True{}:
1279 frame.sized(digits.read(first(lens)))