Permalink
Browse files

issue #1, thanks tundraghost

  • Loading branch information...
1 parent 1a38c54 commit 70dcc477a7ea1a9d5173357e7deee742eae15b69 @juliocesar committed Mar 25, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/noie.rb
  2. +1 −1 test/noie_test.rb
View
@@ -28,7 +28,7 @@ def ie_version(ua_string)
end
def kick_it
- [301, {'Location' => @options[:redirect]}, 'Fail browser is fail']
+ [301, {'Location' => @options[:redirect]}, ['Fail browser is fail']]
end
end
end
View
@@ -7,7 +7,7 @@
class TestApp
def call(env)
- [200, {}, 'Hi Internets!']
+ [200, {}, ['Hi Internets!']]
end
end

1 comment on commit 70dcc47

pwnall commented on 70dcc47 Apr 5, 2012

Please consider releasing a 1.0.1 with this fix, the middleware crashes in MRI 1.9 without it.

Thanks!

Please sign in to comment.