作者 竞泽

fix:stream

@@ -50,14 +50,8 @@ class Response implements ResponseInterface @@ -50,14 +50,8 @@ class Response implements ResponseInterface
50 */ 50 */
51 public function getContent(): string 51 public function getContent(): string
52 { 52 {
53 - static $content = null;  
54 -  
55 - if (is_null($content)) {  
56 $this->response->getBody()->rewind(); 53 $this->response->getBody()->rewind();
57 54
58 - $content = $this->response->getBody()->getContents();  
59 - }  
60 -  
61 - return $content; 55 + return $this->response->getBody()->getContents();
62 } 56 }
63 } 57 }