Home
last modified time | relevance | path

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

/third_party/python/Lib/email/
D_header_value_parser.py943 class _InvalidEwError(errors.HeaderParseError):
1044 raise errors.HeaderParseError(
1048 raise errors.HeaderParseError(
1122 except errors.HeaderParseError:
1194 raise errors.HeaderParseError(
1210 raise errors.HeaderParseError(
1227 except errors.HeaderParseError:
1252 raise errors.HeaderParseError(
1311 raise errors.HeaderParseError(
1316 except errors.HeaderParseError:
[all …]
Derrors.py16 class HeaderParseError(MessageParseError): class
Dheader.py19 from email.errors import HeaderParseError
128 raise HeaderParseError('Base64 decoding error')
389 raise HeaderParseError("header value appears to contain "
Dmessage.py850 raise errors.HeaderParseError('No Content-Type header found')
/third_party/python/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):
858 with self.assertRaises(errors.HeaderParseError):
[all …]
Dtest_policy.py277 with self.assertRaises(email.errors.HeaderParseError):
Dtest_email.py200 self.assertRaises(errors.HeaderParseError,
764 self.assertRaises(errors.HeaderParseError, msg.as_string)
769 self.assertRaises(errors.HeaderParseError, msg.as_string)
5031 raises(errors.HeaderParseError, decode_header, s)
/third_party/python/Doc/library/
Demail.errors.rst29 .. exception:: HeaderParseError()
Demail.compat32-message.rst608 necessary. A :exc:`~email.errors.HeaderParseError` is raised if the
Demail.message.rst421 necessary. A :exc:`~email.errors.HeaderParseError` is raised if the