diff options
Diffstat (limited to 'lib/rack/response.rb')
-rw-r--r-- | lib/rack/response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/response.rb b/lib/rack/response.rb index d1f6a123..92c8c4a6 100644 --- a/lib/rack/response.rb +++ b/lib/rack/response.rb @@ -19,7 +19,7 @@ module Rack attr_accessor :length def initialize(body=[], status=200, header={}, &block) - @status = status + @status = status.to_i @header = Utils::HeaderHash.new({"Content-Type" => "text/html"}. merge(header)) |