change deprecated mimetype args to HttpResponse to content_type