Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure body is consumed only once (alternative to #851) #847

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sathieu
Copy link

@sathieu sathieu commented Jun 27, 2024

Fixes: #846

@sathieu
Copy link
Author

sathieu commented Jun 30, 2024

@hartwork Please take a look at this PR 🙏 .

@hartwork
Copy link
Collaborator

@sathieu I had a quick look and I think understand the problem now but from a quick look the patch raises questions, may not be the best place to patch yet, and is also lacking a new test to both document and regression-protect the case that it's fixing. I have other priorities at the moment, I won't be able to help more at the moment, thanks for your understanding.

Copy link
Collaborator

@hartwork hartwork left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking as "Changes requested" due to CI failing at multiple places and the comment above (in particular a missing test)…

@sathieu
Copy link
Author

sathieu commented Jul 2, 2024

Thanks @hartwork I've fixed CI and added tests. Back to you 🏓 !

@sathieu sathieu requested a review from hartwork July 2, 2024 10:20
@hartwork hartwork changed the title Ensure body is consumed only once Ensure body is consumed only once (alternative to #851) Jul 13, 2024
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.

Chunked body as an iterator doesn't work when body is a streamed iterator
2 participants