def walk
import emerging-ezhttp@0.21.0.0/src/http.bend as Httpimport Base
1579# the walk of chunks.ended from the chunk header at the front of a text
1580def walk(fuel: Nat, +rest: String) -> Walk:
1581 match fuel:
1582 case 0n:
1583 Hold{0n, rest}
1584 case 1n+f:
1585 +g = f
1586 walk.at(g, rest, divide(rest, "\r\n"), s => walk(g, s))