Change record status: 
Project: 
Introduced in branch: 
8.7.x
Introduced in version: 
8.7.0
Description: 

Before

$attribute_string = drupal_http_header_attributes(['rel' => 'noreferrer']);

After

use \Drupal\Core\Render\HtmlResponseAttachmentsProcessor;

$attribute_string = HtmlResponseAttachmentsProcessor::formatHttpHeaderAttributes(['rel' => 'noreferrer']);
Impacts: 
Module developers
Themers