mailcap-mime-info

mailcap-mime-info is a compiled Lisp function in `mailcap.el'.

(mailcap-mime-info STRING &optional REQUEST NO-DECODE)

Get the MIME viewer command for STRING, return nil if none found.
Expects a complete content-type header line as its argument.

Second argument REQUEST specifies what information to return. If it is
nil or the empty string, the viewer (second field of the mailcap
entry) will be returned. If it is a string, then the mailcap field
corresponding to that string will be returned (print, description,
whatever). If a number, then all the information for this specific
viewer is returned. If `all', then all possible viewers for
this type is returned.

If NO-DECODE is non-nil, don't decode STRING.