replace deprecated mimetype with content_type