Http.walk: def of emerging-ezhttp@0.22.0.0 Import: import emerging-ezhttp@0.22.0.0/src/http.bend as Http Lines 1579-1586 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=1579&end_line=1586 import Base # the walk of chunks.ended from the chunk header at the front of a text def walk(fuel: Nat, +rest: String) -> Walk: match fuel: case 0n: Hold{0n, rest} case 1n+f: +g = f walk.at(g, rest, divide(rest, "\r\n"), s => walk(g, s)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.22.0.0/src/http.bend&name=Walk https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.22.0.0/src/http.bend&name=divide https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.22.0.0/src/http.bend&name=walk.at