ietfparse.errors¶
ietfparse.errors.RootException
¶
Root of the ietfparse exception hierarchy.
ietfparse.errors.NoMatch
¶
No match was found when selecting a content type.
ietfparse.errors.MalformedContentType(header_value)
¶
Attempted to parse a malformed Content-Type header.
ietfparse.errors.MalformedLinkValue
¶
Value specified is not a valid link header.
ietfparse.errors.StrictHeaderParsingFailure(header_name, header_value)
¶
Non-standard header value detected.
This is raised when "strict" conformance is enabled for a header parsing function and a header value fails due to one of the "strict" rules.
See ietfparse.headers.parse_forwarded for an example.