True when a comma-separated header value (Connection, Upgrade, Accept-Encoding...) lists
token, compared without regard to case. Parameters after ; are ignored.
has_token :: (value: string, token: string) -> bool
True when a comma-separated header value (Connection, Upgrade, Accept-Encoding...) lists
token, compared without regard to case. Parameters after ; are ignored.
Parameters
- value: string
- token: string
Returns
- bool