public function output()
    {
        foreach ($this->headers as $name => $value) {
            header($name.': '.$value, true, $this->responseCode());
        }
        echo $this->body;
    }
public function output()
    {
        foreach ($this->headers as $name => $value) {
            header($name.': '.$value, true, $this->responseCode());
        }
        echo $this->body;
    }
public function output ( ) { foreach ( $ this -> headers as $ name => $ value ) { header ( $ name . ': ' . $ value , true , $ this -> responseCode ( ) ) ; } echo $ this -> body ; }
Output the response
Output the response