debian-mirror-gitlab/faraday-middleware-aws-signers-v4/lib/faraday_middleware/aws_signers_v4_ext.rb

14 lines
223 B
Ruby
Raw Normal View History

2019-12-05 21:41:47 +05:30
require 'aws-sdk-core/signers/v4'
module AwsSignersV4Ext
def signed_headers(request)
super.downcase
end
end
class Aws::Signers::V4
unless Aws::Signers::V4 < AwsSignersV4Ext
prepend AwsSignersV4Ext
end
end