-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Body yielded non-string value #1611
Comments
Is this any different on HEAD? See #1579. |
If that |
I know, but i think it should be # When the body is empty, response_object is present, set response_object to body @body ||= response_object # The Body commonly is an Array of Strings, the application instance itself, or a File-like object. response_object = file || body |
Maybe it's my version has a problem, I have a look |
When will release the new tag |
@fangzhu19880123 Sounds like this solved your problem? I'm going to close this. See #1612 for release date/discussion. |
when i use delete method and is not set the body, the default status is 204, the body is empty, but response_object is true. then it will return
then the method after of Middleware::Formatter will return response_object
Rack will check the body must string, throw this error
The text was updated successfully, but these errors were encountered: