private function getHeader($name, $headers)
    {
        $headers = array_change_key_case($headers);
        $name = strtolower($name);

        return isset($headers[$name]) ? (string) $headers[$name] : false;
    }
private function getHeader($name, $headers)
    {
        $headers = array_change_key_case($headers);
        $name = strtolower($name);

        return isset($headers[$name]) ? (string) $headers[$name] : false;
    }
private function getHeader ( $ name , $ headers ) { $ headers = array_change_key_case ( $ headers ) ; $ name = strtolower ( $ name ) ; return isset ( $ headers [ $ name ] ) ? ( string ) $ headers [ $ name ] : false ; }
Returns the case insensitive header from the list of headers.
@param string $name name of the header
@param string[] $headers List of headers
@return string|false Contents of the header or false if it does not exist
Returns the case insensitive header from the list of headers .