Function
mailcap.parseline

Signature

parseline(line)

Documentation String

Parse one entry in a mailcap file and return a dictionary.

The viewing command is stored as the value with the key "view", and the rest of the fields produce key-value pairs in the dict.