Sha256: 7e04468859574780f715f7ed167b556d1bc5d7e2c6c0cc7acec731190a2641d7

Contents?: true

Size: 322 Bytes

Versions: 3

Compression:

Stored size: 322 Bytes

Contents

# frozen_string_literal: true

require 'net/http'

module Seahorse
  module Client
    # @api private
    module NetHttp

      # @api private
      module Patches

        def self.apply!
          return unless RUBY_VERSION < '2.5'
          Net::HTTP::IDEMPOTENT_METHODS_.clear
        end

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aws-sdk-core-3.121.1 lib/seahorse/client/net_http/patches.rb
aws-sdk-core-3.121.0 lib/seahorse/client/net_http/patches.rb
aws-sdk-core-3.120.0 lib/seahorse/client/net_http/patches.rb