Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

body is always an array, no point in trying to call close

  • Loading branch information...
commit 57789645095af82de33a99905bcd7060eb33ab2a 1 parent c627b71
@rkh rkh authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/rack/response.rb
View
4 lib/rack/response.rb
@@ -101,10 +101,6 @@ def write(str)
str
end
- def close
- body.close if body.respond_to?(:close)
- end
-
def empty?
@block == nil && @body.empty?
end

0 comments on commit 5778964

Please sign in to comment.
Something went wrong with that request. Please try again.