yes, but everything that has a main mime-type of `text` is handled differently https://github.com/opf/openproject/blob/retrieve_content_type_from_file/app/controllers/attachments_controller.rb#L39