lib/Http/Response.php
protected function sendHeaders()
    {
        header(sprintf('%s %s', self::PROTOCOL_VERSION, ResponseCode::getMessageForCode($this->statusCode)));

        foreach ($this->headers as $name => $value) {
            header(sprintf("%s: %s", $name, $value));
        }
    }
protected function sendHeaders()
    {
        header(sprintf('%s %s', self::PROTOCOL_VERSION, ResponseCode::getMessageForCode($this->statusCode)));

        foreach ($this->headers as $name => $value) {
            header(sprintf("%s: %s", $name, $value));
        }
    }
protected function sendHeaders ( ) { header ( sprintf ( '%s %s' , self :: PROTOCOL_VERSION , ResponseCode :: getMessageForCode ( $ this -> statusCode ) ) ) ; foreach ( $ this -> headers as $ name => $ value ) { header ( sprintf ( "%s: %s" , $ name , $ value ) ) ; } }
Sends the HTTP headers to the client.
Causes output!
Sends the HTTP headers to the client . Causes output!