Skip to content

Fix RequestContext Decode#6

Merged
pcfreak30 merged 2 commits intodevelopfrom
validation
Mar 27, 2025
Merged

Fix RequestContext Decode#6
pcfreak30 merged 2 commits intodevelopfrom
validation

Conversation

@pcfreak30
Copy link
Copy Markdown
Member

No description provided.

Ensure request body reader is properly reset to start position after JSON decoding.
This allows subsequent handlers/middleware to re-read the request body if needed.

The seek operation prevents unexpected EOF errors when attempting to read the body
multiple times by resetting the reader's position after initial decoding.
@pcfreak30 pcfreak30 merged commit 7ea34ff into develop Mar 27, 2025
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