Use content_type instead of mimetype