Extract MIME type from content. Reformat.