Solar_Http_Response::getHeader()
public
string|array
Solar_Http_Response::getHeader
( string $key
)
Returns the value of a single header.
Parameters
(string)
$key
: The header name.
Returns
(string|array) A string if the header has only one value, or an array if the header has multiple values, or null if the header does not exist.
Description
Returns the value of a single header.