Multipart.encode: def of bend-kit-multipart@0.3.0.0 Import: import bend-kit-multipart@0.3.0.0/multipart.bend as Multipart Lines 290-293 of bend-kit-multipart@0.3.0.0/multipart.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-multipart@0.3.0.0/multipart.bend&start_line=290&end_line=293 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes # The body for parts under boundary b (RFC 7578 ยง4.1). Fails when b is not a valid boundary, # b's delimiter occurs in a body, or a Content-Type holds CR or LF. def encode(+b: String, parts: List<&1, Part>) -> Result<&1, &1, String, Bytes.Bytes>: encode.if(boundary.ok(b), b, parts) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-multipart@0.3.0.0/multipart.bend&name=Part https://jend.leeeet.dev/definition.txt?path=bend-kit-multipart@0.3.0.0/multipart.bend&name=boundary.ok https://jend.leeeet.dev/definition.txt?path=bend-kit-multipart@0.3.0.0/multipart.bend&name=encode.if