def send_early_hints_response(env, link)
      env[RACK_EARLY_HINTS_ENV_KEY].call("Link" => link)
    rescue NoMethodError => exception
      raise exception if env.key?(RACK_EARLY_HINTS_ENV_KEY)
      raise NotSupportedByServerError
    end
def send_early_hints_response(env, link)
      env[RACK_EARLY_HINTS_ENV_KEY].call("Link" => link)
    rescue NoMethodError => exception
      raise exception if env.key?(RACK_EARLY_HINTS_ENV_KEY)
      raise NotSupportedByServerError
    end
Tries to send an Early Hints (103) HTTP response for a batch of assets

 @param env [Hash] Rack env
 @param link [String] the serialized HTTP `Link` headers

 @raise [Hanami::EarlyHints::NotSupportedByServerError] if the current Ruby
   server doesn't support Early Hints

 @since 1.2.0
 @api private