def phrase.code

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

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

1783# what follows the status code's SP: the reason phrase; none without that SP
1784def phrase.code(cut: Cut) -> String:
1785  match cut:
1786    case NoCut{}:
1787      ""
1788    case Cut{before, after}:
1789      phrase.chop(after)

Uses (3)

Used by (1)