Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/email/
D_header_value_parser.py1018 raise errors.HeaderParseError(
1022 raise errors.HeaderParseError(
1037 raise errors.HeaderParseError(
1086 except errors.HeaderParseError:
1150 raise errors.HeaderParseError(
1166 raise errors.HeaderParseError(
1181 except errors.HeaderParseError:
1199 raise errors.HeaderParseError(
1258 raise errors.HeaderParseError(
1263 except errors.HeaderParseError:
[all …]
Dheader.py19 from email.errors import HeaderParseError
128 raise HeaderParseError('Base64 decoding error')
389 raise HeaderParseError("header value appears to contain "
Derrors.py16 class HeaderParseError(MessageParseError): class
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):
497 with self.assertRaises(errors.HeaderParseError):
499 with self.assertRaises(errors.HeaderParseError):
560 with self.assertRaises(errors.HeaderParseError):
562 with self.assertRaises(errors.HeaderParseError):
753 with self.assertRaises(errors.HeaderParseError):
806 with self.assertRaises(errors.HeaderParseError):
810 with self.assertRaises(errors.HeaderParseError):
[all …]
Dtest_email.py199 self.assertRaises(errors.HeaderParseError,
728 self.assertRaises(errors.HeaderParseError, msg.as_string)
733 self.assertRaises(errors.HeaderParseError, msg.as_string)
4949 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.compat32-message.rst607 necessary. A :exc:`~email.errors.HeaderParseError` is raised if the
Demail.message.rst421 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)