src/HttpException.php
public function render($prependHttp = true)
    {
        $string = $this->getCode().' '.$this->getMessage();
        if (true === $prependHttp) {
            $string = self::HTTP1_1_PREFIX.' '.$string;
        }

        return $string;
    }
public function render($prependHttp = true)
    {
        $string = $this->getCode().' '.$this->getMessage();
        if (true === $prependHttp) {
            $string = self::HTTP1_1_PREFIX.' '.$string;
        }

        return $string;
    }
Render the code and message (in whole or in part) as a valid
response status header.

@param bool $prependHttp Whether to prepend the HTTP/1.1 prefix

@return string