MCPcopy
hub / github.com/aio-libs/aiohttp / is_token

Function is_token

aiohttp/multipart.py:51–52  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

49
50def parse_content_disposition(header):
51 def is_token(string):
52 return string and TOKEN >= set(string)
53
54 def is_quoted(string):
55 return string[0] == string[-1] == '"'

Callers 2

is_rfc5987Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected