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

Update streaming to make use of Rack "callable body" #1892

Open
dentarg opened this issue Feb 26, 2023 · 0 comments
Open

Update streaming to make use of Rack "callable body" #1892

dentarg opened this issue Feb 26, 2023 · 0 comments

Comments

@dentarg
Copy link
Member

dentarg commented Feb 26, 2023

Instead of adding support for either full or partial hijack, Sinatra should make use of "callable body" (rack/rack#1745) introduced with Rack 3: https://github.com/rack/rack/blob/9eb4aa2646fdaaf22c7f6a9fa4c6dc73e587204f/UPGRADE-GUIDE.md#response-bodies-can-be-used-for-bi-directional-streaming

Originally posted by @dentarg in #604 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant