Home
last modified time | relevance | path

Searched refs:HeaderParseError (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Lib/email/
D_header_value_parser.py951 class _InvalidEwError(errors.HeaderParseError):
1054 raise errors.HeaderParseError(
1058 raise errors.HeaderParseError(
1132 except errors.HeaderParseError:
1204 raise errors.HeaderParseError(
1220 raise errors.HeaderParseError(
1237 except errors.HeaderParseError:
1262 raise errors.HeaderParseError(
1321 raise errors.HeaderParseError(
1326 except errors.HeaderParseError:
[all …]
Derrors.py16 class HeaderParseError(MessageParseError): class
Dheader.py19 from email.errors import HeaderParseError
126 raise HeaderParseError('Base64 decoding error')
385 raise HeaderParseError("header value appears to contain "
Dmessage.py882 raise errors.HeaderParseError('No Content-Type header found')
/external/python/cpython3/Lib/test/test_email/
Dtest__header_value_parser.py81 with self.assertRaises(errors.HeaderParseError):
85 with self.assertRaises(errors.HeaderParseError):
89 with self.assertRaises(errors.HeaderParseError):
93 with self.assertRaises(errors.HeaderParseError):
544 with self.assertRaises(errors.HeaderParseError):
546 with self.assertRaises(errors.HeaderParseError):
612 with self.assertRaises(errors.HeaderParseError):
614 with self.assertRaises(errors.HeaderParseError):
805 with self.assertRaises(errors.HeaderParseError):
809 with self.assertRaises(errors.HeaderParseError):
[all …]
Dtest_policy.py295 with self.assertRaises(email.errors.HeaderParseError):
Dtest_email.py203 self.assertRaises(errors.HeaderParseError,
782 self.assertRaises(errors.HeaderParseError, msg.as_string)
787 self.assertRaises(errors.HeaderParseError, msg.as_string)
5317 raises(errors.HeaderParseError, decode_header, s)
/external/python/cpython3/Doc/library/
Demail.errors.rst29 .. exception:: HeaderParseError()
Demail.message.rst421 necessary. A :exc:`~email.errors.HeaderParseError` is raised if the
Demail.compat32-message.rst609 necessary. A :exc:`~email.errors.HeaderParseError` is raised if the