Use content_type instead of depricated `mimetype` in HttpResponse.