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

Remove (unreleased) Body::discard #930

Merged
merged 1 commit into from
Jan 4, 2025
Merged

Remove (unreleased) Body::discard #930

merged 1 commit into from
Jan 4, 2025

Conversation

algesten
Copy link
Owner

@algesten algesten commented Jan 4, 2025

This function clutters the API and is only partially useful since it
requires an owned Body, i.e. it cannot be used with
Response::body_mut(). It is also not useful if the user has "peeked"
the body via a Reader.

@algesten algesten merged commit 2d67200 into main Jan 4, 2025
66 checks passed
@algesten algesten deleted the fix/remove-discard branch January 4, 2025 10:44
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.

1 participant