Skip to content

Fix problem with validating partial bodies instead of whole body #7

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 2 commits into from
Jun 1, 2023

Conversation

pboos
Copy link
Contributor

@pboos pboos commented Jun 1, 2023

The body is often sent in chunks and therefore the current logic in the BodyCachingServerHttpRequestDecorator was flawed so that it would just cache the last chunk retrieved instead of all of the chunks together.

This was most likely also the reason for the "Unable to parse JSON" which exclusion is now removed.

@pboos pboos requested review from a team, egenesio and ursulean June 1, 2023 13:03
@pboos pboos merged commit 864f1c5 into main Jun 1, 2023
@pboos pboos deleted the bugfix/partial-request-body branch June 9, 2023 08:57
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