public function getHeadersAsString()
    {
        $headerString = '';
        foreach ($this->getHeaders() as $name => $header) {
            // build up a header string
            $headerString .= $name . ': ' . $header . PHP_EOL;
        }

        return $headerString;
    }
public function getHeadersAsString()
    {
        $headerString = '';
        foreach ($this->getHeaders() as $name => $header) {
            // build up a header string
            $headerString .= $name . ': ' . $header . PHP_EOL;
        }

        return $headerString;
    }
public function getHeadersAsString ( ) { $ headerString = '' ; foreach ( $ this -> getHeaders ( ) as $ name => $ header ) { // build up a header string $ headerString .= $ name . ': ' . $ header . PHP_EOL ; } return $ headerString ; }
Returns the headers as string

@return string
Returns the headers as string