Home
last modified time | relevance | path

Searched refs:cte_type (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Lib/email/
H A D_policybase.py139 cte_type -- Type of allowed content transfer encodings
164 cte_type = '8bit' variable in Policy
332 max_line_length. If cte_type is 7bit, non-ascii binary data is CTE
337 folded = self._fold(name, value, sanitize=self.cte_type=='7bit')
H A Dpolicy.py188 The same as fold if cte_type is 7bit, except that the returned value is
191 If cte_type is 8bit, non-ASCII binary data is converted back into
200 folded = self._fold(name, value, refold_binary=self.cte_type=='7bit')
H A Dcontentmanager.py156 if policy.cte_type == '8bit':
207 # 8bit will get coerced on serialization if policy.cte_type='7bit'. We
H A Dgenerator.py404 cte_type set to 7bit, then the message is transformed such that the
433 if _has_surrogates(msg._payload) and not self.policy.cte_type=='7bit':
/third_party/python/Lib/test/test_email/
H A Dtest_generator.py242 g = BytesGenerator(s, policy=self.policy.clone(cte_type='7bit'))
269 g = BytesGenerator(s, policy=self.policy.clone(cte_type='7bit',

Completed in 3 milliseconds