def accepted

ezmcp@0.1.0.0 · src/client.bend:70

import ezmcp@0.1.0.0/src/client.bend as Client
import Base

70# whether an HTTP reply to a notification accepted it: any 2xx
71def accepted(+status: U32) -> Bool:  # noqa: L001 only src/io.bend calls it (MCP-TRUST-1)
72  Bool.and(U32.is_ge(status, 200), U32.is_lt(status, 300))

Uses (5)

Used by (1)