src/SapiServer.php
protected function serveHeaders(ResponseInterface $response)
    {
        header_remove('X-Powered-By');
        foreach ($response->getHeaders() as $header => $values) {
            header($header . ': ' . array_shift($values), true);
            foreach ($values as $value) {
                header($header . ': ' . $value, false);
            }
        }
    }
protected function serveHeaders(ResponseInterface $response)
    {
        header_remove('X-Powered-By');
        foreach ($response->getHeaders() as $header => $values) {
            header($header . ': ' . array_shift($values), true);
            foreach ($values as $value) {
                header($header . ': ' . $value, false);
            }
        }
    }
protected function serveHeaders ( ResponseInterface $ response ) { header_remove ( 'X-Powered-By' ) ; foreach ( $ response -> getHeaders ( ) as $ header => $ values ) { header ( $ header . ': ' . array_shift ( $ values ) , true ) ; foreach ( $ values as $ value ) { header ( $ header . ': ' . $ value , false ) ; } } }
Set the headers.

@param ResponseInterface $response The response.
Set the headers .