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

implement BodyReader for easy consumption of Body #9

Merged
merged 1 commit into from
Sep 9, 2023

Conversation

dpc
Copy link
Contributor

@dpc dpc commented Sep 9, 2023

I need serde_json::from_reader(body.into_reader()).

I need `serde_json::from_reader(req.body_mut().reader())`.
@dpc
Copy link
Contributor Author

dpc commented Sep 9, 2023

Well, turns out I actually need to decode urlencode arguments, but that's something for another day...

@ibraheemdev
Copy link
Owner

Nice, thanks!

@ibraheemdev ibraheemdev merged commit 42b8396 into ibraheemdev:master Sep 9, 2023
5 checks passed
@ibraheemdev
Copy link
Owner

Released in 0.3.0.

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.

2 participants