Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
resolve undefined method 'each_line' error
  • Loading branch information
A-OK committed Aug 11, 2009
1 parent 952ff1a commit 56098d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rlibs/fuzed_handler.rb
Expand Up @@ -121,7 +121,7 @@ def service(request)
res =
[:response,
[[:status, status.to_i],
[:allheaders, headers.inject([]) { |a, x| a += x[1].each_line.map { |y| [:header, x[0], y] } }],
[:allheaders, headers.keys.inject([]) {|x,y| x << [:header, y, headers[y]]}],
[:html, html]]]
rescue => e
res =
Expand Down

0 comments on commit 56098d9

Please sign in to comment.