这是indexloc提供的服务,不要输入任何密码
Skip to content

fix: body parsing function #670

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

Merged
merged 7 commits into from
Mar 29, 2025
Merged

fix: body parsing function #670

merged 7 commits into from
Mar 29, 2025

Conversation

Valerioageno
Copy link
Member

@Valerioageno Valerioageno commented Mar 27, 2025

Checklist

Related issue

Fixes #669

Overview

The first iteration of the .body::<T>() was just wrong.
We were reading the body from the headers while the body is in the content of the HTTP request. This PR fixes it

@github-actions github-actions bot added the rust Requires rust knowledge label Mar 27, 2025
@Valerioageno Valerioageno self-assigned this Mar 27, 2025
@Valerioageno Valerioageno marked this pull request as ready for review March 29, 2025 10:08
@Valerioageno Valerioageno merged commit 53ec3ae into main Mar 29, 2025
29 checks passed
@Valerioageno Valerioageno deleted the fix-body-function branch March 29, 2025 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust Requires rust knowledge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: The api endpoint responds to a [POST] request and cannot parse the body
1 participant