lib/falcon/adapters/rack.rb in falcon-0.29.0 vs lib/falcon/adapters/rack.rb in falcon-0.30.0
- old
+ new
@@ -21,11 +21,10 @@
require 'rack'
require_relative 'input'
require_relative 'response'
require_relative 'early_hints'
-require_relative 'hijack'
require 'async/logger'
module Falcon
module Adapters
@@ -183,10 +182,10 @@
# If there was a full hijack:
if full_hijack
return nil
else
- return Response.wrap(status, headers, body, request, env)
+ return Response.wrap(status, headers, body, request)
end
rescue => exception
@logger.error(self) {exception}
return failure_response(exception)