
Lwp::mediatypes provides functions for handling media (also known as mime) types and encodings. the mapping from file extensions to media types is defined by the media.types file. if the ~/.media.types file exists it is used instead. for backwards compatibility it will also look for ~/.mime.types.