Skip to content

Conversation

@sindresorhus
Copy link
Owner

This is a potential fix for #719. Even if it's not, it's still a nice simplification. So for that reason, I'm not going to wait for OP of #719 to test it out first.

Since it's not reproducible, I was not able to add a test.

@sholladay
Copy link
Collaborator

LGTM. I had previously thought this code needed to avoid consuming the body, but actually it's fine. And removing .clone() wherever possible is great. 👏

@sholladay sholladay merged commit 8cd79d3 into main Sep 4, 2025
6 checks passed
@sholladay sholladay deleted the issue-719 branch September 4, 2025 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants