public function getHeaderString()
    {
        $string = '';
        foreach ($this->headers as $name => $values) {
            foreach ($values as $value) {
                $string .= $name . ': ' . $value . "\r\n";
            }
        }
        return $string;
    }
public function getHeaderString()
    {
        $string = '';
        foreach ($this->headers as $name => $values) {
            foreach ($values as $value) {
                $string .= $name . ': ' . $value . "\r\n";
            }
        }
        return $string;
    }
public function getHeaderString ( ) { $ string = '' ; foreach ( $ this -> headers as $ name => $ values ) { foreach ( $ values as $ value ) { $ string .= $ name . ': ' . $ value . "\r\n" ; } } return $ string ; }
Returns response header as string

@return string
Returns response header as string