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

Added file, explicitly set file-like response object. #1026

Merged
merged 1 commit into from
Jun 3, 2015

Conversation

dblock
Copy link
Member

@dblock dblock commented Jun 3, 2015

This addresses the issue described in https://github.com/dblock/grape-on-rack/pull/12.

According to spec, Rack responses can be arrays of strings, but can also be file-like objects (not arrays of file-like objects). This enables that.

dblock added a commit that referenced this pull request Jun 3, 2015
Added file, explicitly set file-like response object.
@dblock dblock merged commit 2ec51f7 into ruby-grape:master Jun 3, 2015
@dblock dblock deleted the endpoint-file branch June 4, 2015 17:34
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.

None yet

1 participant