diff options
Diffstat (limited to 'lib/rainbows/rev')
-rw-r--r-- | lib/rainbows/rev/client.rb | 2 | ||||
-rw-r--r-- | lib/rainbows/rev/core.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/rev/client.rb b/lib/rainbows/rev/client.rb index bc8d7fa..91947b6 100644 --- a/lib/rainbows/rev/client.rb +++ b/lib/rainbows/rev/client.rb @@ -6,7 +6,7 @@ module Rainbows class Client < ::Rev::IO include Rainbows::ByteSlice include Rainbows::EvCore - include Rainbows::HttpResponse + include Rainbows::Response G = Rainbows::G HH = Rack::Utils::HeaderHash diff --git a/lib/rainbows/rev/core.rb b/lib/rainbows/rev/core.rb index 2488cf2..4668cce 100644 --- a/lib/rainbows/rev/core.rb +++ b/lib/rainbows/rev/core.rb @@ -22,7 +22,7 @@ module Rainbows # for connections and doesn't die until the parent dies (or is # given a INT, QUIT, or TERM signal) def worker_loop(worker) - Rainbows::HttpResponse.setup(Rainbows::Rev::Client) + Rainbows::Response.setup(Rainbows::Rev::Client) require 'rainbows/rev/sendfile' Rainbows::Rev::Client.__send__(:include, Rainbows::Rev::Sendfile) init_worker_process(worker) |