mimetype replaced with content_type