def status.bare

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

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

1247# 204 and 304 carry no body; a status line that did not parse is framed by
1248# its headers
1249def status.bare(m: Maybe<&2, U32>) -> Bool:
1250  match m:
1251    case None{}:
1252      False{}
1253    case Some{n}:
1254      status.nocontent(n)

Uses (4)

Used by (3)