PyDocs

Nav

Internet Data Handling

Message.get_params

  • Message.get_params(failobj=None, header='content-type', unquote=True)
Return the message's Content-Type parameters, as a list.

The elements of the returned list are 2-tuples of key/value pairs, as
split on the '=' sign.  The left hand side of the '=' is the key,
while the right hand side is the value.  If there is no '=' sign in
the parameter the value is the empty string.  The value is as
described in the get_param() method.

Optional failobj is the object to return if there is no Content-Type
header.  Optional header is the header to search instead of
Content-Type.  If unquote is True, the value is unquoted.
0 Examples
No examples for email.message/Message.get_params.
See Also
No see-alsos for email.message/Message.get_params
0 Notes
No notes for Message.get_params