[bug 1093041] Replace HttpResponse.mimetype (deprecated) with content_type