def target.asterisk
import emerging-ezhttp@0.22.0.0/src/http.bend as Httpimport 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")