Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

malformed rack result #1

Closed
timurb opened this Issue · 3 comments

2 participants

Timur Batyrshin Julio Cesar Ody
Timur Batyrshin

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

see my repo for a fix

Julio Cesar Ody
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?

Timur Batyrshin

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.

Julio Cesar Ody
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
Something went wrong with that request. Please try again.