GuzzleHttpPsr7normalize_header

Converts an array of header values that may contain comma separated headers into an array of headers with no comma separated values.

Description

(array) GuzzleHttp\Psr7\normalize_header( (string|array) $header ); 

Returns (array)

Returns the normalized header field values.

Parameters (1)

0. $header (string|array)
Header to normalize.

Usage

  1. if ( !function_exists( 'GuzzleHttp\Psr7\normalize_header' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'w3-total-cache/lib/Azure/GuzzleHttp/Psr7/functions.php'; 
  3.  
  4. // Header to normalize. 
  5. $header = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = GuzzleHttp\Psr7\normalize_header($header); 
  9.  

Defined (1)

The function is defined in the following location(s).

/lib/Azure/GuzzleHttp/Psr7/functions.php