Function
mailcap.lookup

Signature

lookup(caps, MIMEtype, key=None)