lib/Github/HttpClient/Message/ResponseMediator.php
public static function getHeader(ResponseInterface $response, $name)
    {
        $headers = $response->getHeader($name);

        return array_shift($headers);
    }
public static function getHeader(ResponseInterface $response, $name)
    {
        $headers = $response->getHeader($name);

        return array_shift($headers);
    }
public static function getHeader ( ResponseInterface $ response , $ name ) { $ headers = $ response -> getHeader ( $ name ) ; return array_shift ( $ headers ) ; }
Get the value for a single header.

@param ResponseInterface $response
@param string            $name

@return string|null
Get the value for a single header .