Class: Aws::S3::Plugins::ChecksumAlgorithm::SkipTrailerChecksumsHandler Private
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::S3::Plugins::ChecksumAlgorithm::SkipTrailerChecksumsHandler
- Defined in:
- lib/aws-sdk-s3/plugins/checksum_algorithm.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Handler to disable trailer checksums for S3-compatible services that don’t support STREAMING-UNSIGNED-PAYLOAD-TRAILER See: github.com/aws/aws-sdk-ruby/issues/3338
Instance Method Summary collapse
- #call(context) ⇒ Object private
Instance Method Details
#call(context) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
25 26 27 28 |
# File 'lib/aws-sdk-s3/plugins/checksum_algorithm.rb', line 25 def call(context) context[:skip_trailer_checksums] = true if custom_endpoint?(context.config) @handler.call(context) end |