MCPcopy Index your code
hub / github.com/python/cpython / decode_rfc2231

Function decode_rfc2231

Lib/email/utils.py:369–374  ·  view source on GitHub ↗

Decode string according to RFC 2231

(s)

Source from the content-addressed store, hash-verified

367
368# RFC2231-related functions - parameter encoding and decoding
369def decode_rfc2231(s):
370 """Decode string according to RFC 2231"""
371 parts = s.split(TICK, 2)
372 if len(parts) <= 2:
373 return None, None, s
374 return parts
375
376
377def encode_rfc2231(s, charset=None, language=None):

Callers 1

decode_paramsFunction · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…