Skip to content

Rewind rack.input when parsing request body#279

Merged
rsamoilov merged 2 commits intomainfrom
body-rewind
Apr 19, 2026
Merged

Rewind rack.input when parsing request body#279
rsamoilov merged 2 commits intomainfrom
body-rewind

Conversation

@rsamoilov
Copy link
Copy Markdown
Member

This pull request improves the robustness of the ParamsParser by ensuring that the request body can be parsed even if rack.input has already been read by middleware.

this ensures the body can still be parsed if `rack.input` has been consumed by a middleware
@rsamoilov rsamoilov merged commit d6073ac into main Apr 19, 2026
11 checks passed
@rsamoilov rsamoilov deleted the body-rewind branch April 19, 2026 15: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.

1 participant