class_docstr: Basic message object.
  
  A message object is defined as something that has a bunch of RFC 2822
  headers and a payload.  It may optionally have an envelope header
  (a.k.a. Unix-From or From_ header).  If the message is a container (i.e. a
  multipart or a message/rfc822), then the payload is a list of Message
  objects, otherwise it is a string.
  
  Message objects implement part of the `mapping' interface, which assumes
  there is exactly one occurrence of the header per message.  Some headers
  do in fact appear multiple times (e.g. Received) and for those headers,
  you must use the explicit API to set or get all the headers.  Not all of
  the mapping methods are implemented.
docstr: 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.
docstr_tok: ["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","."]
code: def get_params(
      self, 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.
      """
      missing = object()
      params = self._get_params_preserve(missing, header)
      if params is missing:
          return failobj
      if unquote:
          return [(k, _unquotevalue(v)) for k, v in params]
      else:
          return params
  
imports: import re
  import uu
  import binascii
  import warnings
  from cStringIO import StringIO
  import email.charset
  from email import utils
  from email import errors
label_desc: Use image node_id 31 for calling the Message obj's underlying member method code with example usage: obj.get_params(failobj, header, unquote) and returns: failobj, unknown, params