Home
last modified time | relevance | path

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

/external/python/cpython3/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')
/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):
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)
/external/python/cpython2/Lib/email/
Dheader.py19 from email.errors import HeaderParseError
108 raise HeaderParseError
412 raise HeaderParseError("header value appears to contain "
Derrors.py17 class HeaderParseError(MessageParseError): class
Dmessage.py717 raise errors.HeaderParseError('No Content-Type header found')
/external/python/cpython2/Doc/library/
Demail.errors.rst24 .. exception:: HeaderParseError()
Demail.message.rst497 necessary. A :exc:`~email.errors.HeaderParseError` is raised if the
/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.rst608 necessary. A :exc:`~email.errors.HeaderParseError` is raised if the
/external/python/cpython2/Lib/email/test/
Dtest_email.py185 self.assertRaises(Errors.HeaderParseError,
567 self.assertRaises(Errors.HeaderParseError, msg.as_string)
572 self.assertRaises(Errors.HeaderParseError, msg.as_string)
3230 raises(Errors.HeaderParseError, decode_header, s)
Dtest_email_renamed.py180 self.assertRaises(errors.HeaderParseError,
2989 raises(errors.HeaderParseError, decode_header, s)