src/Leevel/Http/Leevel2Psr.php
protected function normalizeContent(string $content)
    {
        $resource = fopen('php://temp', 'r+');
        fwrite($resource, $content);
        rewind($resource);

        return $resource;
    }
protected function normalizeContent(string $content)
    {
        $resource = fopen('php://temp', 'r+');
        fwrite($resource, $content);
        rewind($resource);

        return $resource;
    }
格式化响应内容.

@param string $content

@return resource