lib/falcon/adapters/rack.rb in falcon-0.36.7 vs lib/falcon/adapters/rack.rb in falcon-0.37.0

- old
+ new

@@ -22,11 +22,10 @@ require 'rack' require_relative 'input' require_relative 'response' -require_relative 'early_hints' require 'async/logger' module Falcon module Adapters @@ -58,11 +57,10 @@ RACK_RUNONCE = 'rack.run_once' RACK_URL_SCHEME = 'rack.url_scheme' RACK_HIJACK = 'rack.hijack' RACK_IS_HIJACK = 'rack.hijack?' RACK_HIJACK_IO = 'rack.hijack_io' - RACK_EARLY_HINTS = "rack.early_hints" # Async::HTTP specific metadata: ASYNC_HTTP_REQUEST = "async.http.request" @@ -181,13 +179,9 @@ # We support both request and response hijack. RACK_IS_HIJACK => true, } self.unwrap_request(request, env) - - if request.push? - env[RACK_EARLY_HINTS] = EarlyHints.new(request) - end full_hijack = false if request.hijack? env[RACK_HIJACK] = lambda do