From 15b1e681ed874aecce986a2fe0c92dac1cef057b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=92=D0=B5=D1=80?= =?UTF-8?q?=D1=85=D0=BE=D0=BB=D1=8F=D0=B4?= Date: Fri, 7 Apr 2023 13:39:52 +0500 Subject: [PATCH] =?UTF-8?q?#104754=20=D0=A2=D0=B5=D0=BA=D1=81=D1=82=20?= =?UTF-8?q?=D0=BE=D1=88=D0=B8=D0=B1=D0=BE=D0=BA=20=D0=B2=20=D0=BA=D0=BB?= =?UTF-8?q?=D0=B8=D0=B5=D0=BD=D1=82=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BodySummarizer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BodySummarizer.php b/src/BodySummarizer.php index 9dc5836..fb1de7b 100644 --- a/src/BodySummarizer.php +++ b/src/BodySummarizer.php @@ -20,6 +20,7 @@ public function summarize(MessageInterface $message): ?string { if ($message->getBody() instanceof Stream) { $message = $message->withBody(new MultibyteStream($message->getBody())); + $message->getBody()->rewind(); } return (new GuzzleBodySummarizer($this->truncateAt))->summarize($message);