code/libraries/joomlatools/library/http/response/response.php
public function toString()
    {
        $status = sprintf('HTTP/%s %d %s', $this->getVersion(), $this->getStatusCode(), $this->getStatusMessage());

        $str  = trim($status) . "\r\n";
        $str .= $this->getHeaders();
        $str .= "\r\n";
        $str .= $this->getContent();
        return $str;
    }
public function toString()
    {
        $status = sprintf('HTTP/%s %d %s', $this->getVersion(), $this->getStatusCode(), $this->getStatusMessage());

        $str  = trim($status) . "\r\n";
        $str .= $this->getHeaders();
        $str .= "\r\n";
        $str .= $this->getContent();
        return $str;
    }
public function toString ( ) { $ status = sprintf ( 'HTTP/%s %d %s' , $ this -> getVersion ( ) , $ this -> getStatusCode ( ) , $ this -> getStatusMessage ( ) ) ; $ str = trim ( $ status ) . "\r\n" ; $ str .= $ this -> getHeaders ( ) ; $ str .= "\r\n" ; $ str .= $ this -> getContent ( ) ; return $ str ; }
Render entire response as HTTP response string

@return string
Render entire response as HTTP response string