We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 592ff0b commit 0837453Copy full SHA for 0837453
lib/m2r/rack_handler.rb
@@ -37,6 +37,7 @@ def process(request)
37
status, headers, body = @app.call(env)
38
buffer = ""
39
body.each { |part| buffer << part }
40
+ body.close if body.respond_to?(:close)
41
return Response.new(status, headers, buffer)
42
end
43
0 commit comments