malformed rack result #1

Closed
timurb opened this Issue Mar 24, 2010 · 3 comments

Projects

None yet

2 participants

@timurb
timurb commented Mar 24, 2010

rack result should be [ code, {}, [...] ] so the module does not run and tests do not pass when installing

see my repo for a fix

@juliocesar
Owner

Hey ya,

not sure what you mean by that. Can you point me to a diff or to the particular commit that illustrates your idea?

@timurb
timurb commented Mar 25, 2010

Hi,

Here is the commit:
http://github.com/tundraghost/rack-noie/commit/19dde017666c0c34c246ced88f1c17487af6fe9c

Here is an explanation:
http://rack.rubyforge.org/doc/SPEC.html
«The Body must respond to each and must only yield String values. The Body itself should not be an instance of String, as this will break in Ruby 1.9»

It seems that you are using Ruby 1.8 and have not run yet in this problem.

@juliocesar
Owner

Gotcha. Thanks for the heads up. Fixed, pushed.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment