MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / decode_rfc2231

Function decode_rfc2231

tools/python-3.11.9-amd64/Lib/email/utils.py:234–239  ·  view source on GitHub ↗

Decode string according to RFC 2231

(s)

Source from the content-addressed store, hash-verified

232
233# RFC2231-related functions - parameter encoding and decoding
234def decode_rfc2231(s):
235 """Decode string according to RFC 2231"""
236 parts = s.split(TICK, 2)
237 if len(parts) <= 2:
238 return None, None, s
239 return parts
240
241
242def encode_rfc2231(s, charset=None, language=None):

Callers 1

decode_paramsFunction · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected