Requests_Response_Headers::getValues( string $key )
Get all values for a given header
Parameters
- $key
-
(Required)
Return
(array) Header values
Source
File: wp-includes/Requests/Response/Headers.php
public function getValues($key) {
$key = strtolower($key);
if (!isset($this->data[$key])) {
return null;
}
return $this->data[$key];
}