def parse.headers.scan.line

bend-kit-http@0.38.4.0 · http.bend:356

import bend-kit-http@0.38.4.0/http.bend as Http
import Base

356def parse.headers.scan.line(acc: String, fields: Fields) -> Fields:
357  match acc:
358    case SCon{Chr{13}, t}:
359      fields_put(fields, String.reverse(t))
360    case other:
361      fields_put(fields, String.reverse(other))

Uses (9)

Used by (1)