lib/ldclient-rb/requestor.rb in launchdarkly-server-sdk-5.6.2 vs lib/ldclient-rb/requestor.rb in launchdarkly-server-sdk-5.7.0

- old
+ new

@@ -49,11 +49,10 @@ def make_request(path) @client.start if !@client.started? uri = URI(@config.base_uri + path) req = Net::HTTP::Get.new(uri) - req["Authorization"] = @sdk_key - req["User-Agent"] = "RubyClient/" + LaunchDarkly::VERSION + Impl::Util.default_http_headers(@sdk_key, @config).each { |k, v| req[k] = v } req["Connection"] = "keep-alive" cached = @cache.read(uri) if !cached.nil? req["If-None-Match"] = cached.etag end