lib/rack/recursive.rb in rack-1.1.6 vs lib/rack/recursive.rb in rack-1.2.0

- old
+ new

@@ -33,9 +33,13 @@ def initialize(app) @app = app end def call(env) + dup._call(env) + end + + def _call(env) @script_name = env["SCRIPT_NAME"] @app.call(env.merge('rack.recursive.include' => method(:include))) rescue ForwardRequest => req call(env.merge(req.env)) end