Http.frame: def of emerging-ezhttp@0.22.0.0 Import: import emerging-ezhttp@0.22.0.0/src/http.bend as Http Lines 1289-1296 of emerging-ezhttp@0.22.0.0/src/http.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.22.0.0/src/http.bend&start_line=1289&end_line=1296 import Base # the framing of a response: none when bare (a reply to HEAD, a 204 or a 304), # else Transfer-Encoding chunked, else Content-Length, else the close def frame(bare: Bool, te: String, +lens: List<&2, String>) -> Frame: match bare: case True{}: Bare{} case False{}: frame.te(lens, String.contains(String.to_lower(te), "chunked")) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.contains https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.to_lower https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.22.0.0/src/http.bend&name=Frame https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.22.0.0/src/http.bend&name=frame.te