diff options
-rw-r--r-- | lib/rainbows/http_response.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rainbows/http_response.rb b/lib/rainbows/http_response.rb index fdbf3dd..811a793 100644 --- a/lib/rainbows/http_response.rb +++ b/lib/rainbows/http_response.rb @@ -2,7 +2,9 @@ require 'time' # for Time#httpdate # :stopdoc: -class Rainbows::HttpResponse < ::Unicorn::HttpResponse +module Rainbows::HttpResponse + + CODES = Unicorn::HttpResponse::CODES def self.header_string(status, headers, out) status = CODES[status.to_i] || status |