def target.asterisk

emerging-ezhttp@0.22.0.0 · src/http.bend:753

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

753# asterisk-form is only `*` and only for OPTIONS (RFC 9112 §3.2.4)
754def target.asterisk(method: String, star: Bool) -> Bool:
755  match star:
756    case False{}:
757      False{}
758    case True{}:
759      String.eq(method, "OPTIONS")

Uses (3)

Used by (1)