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

Fix rack response type #496

Merged
merged 2 commits into from
Jan 9, 2024
Merged

Fix rack response type #496

merged 2 commits into from
Jan 9, 2024

Conversation

soutaro
Copy link
Member

@soutaro soutaro commented Jan 9, 2024

Allow a String to be the body of rack response.

The SPEC doesn't say String is permitted, but the implementation seems to accept to_str body.

@soutaro soutaro requested a review from pocke as a code owner January 9, 2024 07:24
@soutaro soutaro merged commit ec140af into ruby:main Jan 9, 2024
3 checks passed
@soutaro soutaro deleted the rack-response branch January 9, 2024 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant