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

Function is_rfc5987

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

Source from the content-addressed store, hash-verified

55 return string[0] == string[-1] == '"'
56
57 def is_rfc5987(string):
58 return is_token(string) and string.count("'") == 2
59
60 def is_extended_param(string):
61 return string.endswith('*')

Callers 1

Calls 1

is_tokenFunction · 0.85

Tested by

no test coverage detected