Searched refs:HeaderParseError (Results 1 – 10 of 10) sorted by relevance
943 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 …]
16 class HeaderParseError(MessageParseError): class
19 from email.errors import HeaderParseError128 raise HeaderParseError('Base64 decoding error')389 raise HeaderParseError("header value appears to contain "
850 raise errors.HeaderParseError('No Content-Type header found')
81 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 …]
277 with self.assertRaises(email.errors.HeaderParseError):
200 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)
29 .. exception:: HeaderParseError()
608 necessary. A :exc:`~email.errors.HeaderParseError` is raised if the
421 necessary. A :exc:`~email.errors.HeaderParseError` is raised if the