Skip to content

Rack response body should be an array, not a string#2

Open
jdelStrother wants to merge 1 commit into
cheald:masterfrom
jdelStrother:patch-1
Open

Rack response body should be an array, not a string#2
jdelStrother wants to merge 1 commit into
cheald:masterfrom
jdelStrother:patch-1

Conversation

@jdelStrother
Copy link
Copy Markdown

It's an old project, I know, but I'm finding it useful at the moment. I couldn't get it working in Rails 2.3.11 before I made the attached change - when returning [200, {'Content-Type'=>'text/html'}, s] to Rack, 's' needs to be an array.

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.

1 participant