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

Ensure body is rewound #425

Merged
merged 3 commits into from
Jun 17, 2024
Merged

Ensure body is rewound #425

merged 3 commits into from
Jun 17, 2024

Conversation

tt
Copy link
Contributor

@tt tt commented Jun 12, 2024

This is a small change to always rewind the request body. Rack::Request#POST no longer does this in recent Rack versions. It was removed in rack/rack@42aff22.

Rack::RewindableInput::Middleware is likely going to be required for most users of this library.

Committee requires more changes to be compatible with Rack 3.1.x. I'm adding a constraint so Bundler doesn't try to upgrade dependencies past what's supported.

@beanieboi
Copy link
Member

@ydah Can we merge this?

Copy link
Member

@ydah ydah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Looks good!

@ydah ydah merged commit 5e883dd into interagent:master Jun 17, 2024
6 checks passed
@ydah
Copy link
Member

ydah commented Jun 17, 2024

@tt Do you need a release including this PR change sooner? If yes, we will release immediately.

@tt
Copy link
Contributor Author

tt commented Jun 17, 2024

@ydah, that would be excellent. Thank you.

@tt tt deleted the ensure-body-is-rewound branch June 17, 2024 14:29
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.

3 participants