Skip to content

Commit

Permalink
Revert "Fixing async.callback in send_response to properly follow the…
Browse files Browse the repository at this point in the history
… async-rack spec."

This reverts commit dd31216.
  • Loading branch information
koudelka committed Oct 17, 2011
1 parent dd31216 commit 532c16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cramp/abstract.rb
Expand Up @@ -78,7 +78,7 @@ def halt(status, headers = {}, halt_body = '')
end

def send_response(response_status, response_headers, response_body)
@env['async.callback'].call [response_status, response_headers, [response_body]]
@env['async.callback'].call [response_status, response_headers, response_body]
end

def request
Expand Down

0 comments on commit 532c16a

Please sign in to comment.