def te.line

emerging-ezhttp@0.21.0.0 · src/http.bend:1023

import emerging-ezhttp@0.21.0.0/src/http.bend as Http
import Base

1023# the Transfer-Encoding line of a streamed reply, when it has a body
1024def te.line(te: Bool) -> String:
1025  match te:
1026    case True{}:
1027      "Transfer-Encoding: chunked\r\n"
1028    case False{}:
1029      ""

Uses (2)

Used by (1)