def call(env)
      request = env['rack-accept_headers.request'] ||= Request.new(env)
      check!(request) unless @checks.empty?
      @app.call(env)
    rescue AcceptError
      response = Response.new
      response.not_acceptable!
      response.finish
    end
def call(env)
      request = env['rack-accept_headers.request'] ||= Request.new(env)
      check!(request) unless @checks.empty?
      @app.call(env)
    rescue AcceptError
      response = Response.new
      response.not_acceptable!
      response.finish
    end
Inserts a new Rack::AcceptHeaders::Request object into the environment before
 handing the request to the app immediately downstream.