Class: Aws::S3::Plugins::ChecksumAlgorithm::SkipWholeMultipartGetChecksumsHandler Private

Inherits:
Seahorse::Client::Handler
  • Object
show all
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.

S3 GetObject results for whole Multipart Objects contain a checksum that cannot be validated. These should be skipped by the ChecksumAlgorithm plugin.

Instance Method Summary collapse

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.



13
14
15
16
17
18
# File 'lib/aws-sdk-s3/plugins/checksum_algorithm.rb', line 13

def call(context)
  context[:http_checksum] ||= {}
  context[:http_checksum][:skip_on_suffix] = true

  @handler.call(context)
end