diff options
Diffstat (limited to 'lib/rack/response.rb')
-rw-r--r-- | lib/rack/response.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/rack/response.rb b/lib/rack/response.rb index 2e548cde..58f9e5d6 100644 --- a/lib/rack/response.rb +++ b/lib/rack/response.rb @@ -3,7 +3,6 @@ require 'rack/request' require 'rack/utils' require 'rack/body_proxy' -require 'rack/simple_body_proxy' require 'rack/media_type' require 'time' @@ -73,11 +72,7 @@ module Rack close [status.to_i, header, []] else - if @block.nil? - [status.to_i, header, SimpleBodyProxy.new(@body)] - else - [status.to_i, header, BodyProxy.new(self){}] - end + [status.to_i, header, BodyProxy.new(self){}] end end alias to_a finish # For *response |