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

Function is_quoted

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

Source from the content-addressed store, hash-verified

52 return string and TOKEN >= set(string)
53
54 def is_quoted(string):
55 return string[0] == string[-1] == '"'
56
57 def is_rfc5987(string):
58 return is_token(string) and string.count("'") == 2

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected