private function writeHeaders()
    {
        $headers = $this->response->getHeaders();
        foreach ($headers as $name => $list) {
            header("$name: " . implode(', ', $list));
        }
    }
private function writeHeaders()
    {
        $headers = $this->response->getHeaders();
        foreach ($headers as $name => $list) {
            header("$name: " . implode(', ', $list));
        }
    }
private function writeHeaders ( ) { $ headers = $ this -> response -> getHeaders ( ) ; foreach ( $ headers as $ name => $ list ) { header ( "$name: " . implode ( ', ' , $ list ) ) ; } }
Write headers.

@return void
Write headers .