module Seahorse::Client::NetHttp::Patches

@api private

Public Class Methods

apply!() click to toggle source
# File lib/seahorse/client/net_http/patches.rb, line 13
def self.apply!
  Net::HTTPGenericRequest.prepend(PatchDefaultContentType)
  return unless RUBY_VERSION < '2.5'

  Net::HTTP::IDEMPOTENT_METHODS_.clear
end