class Aws::S3::Plugins::Md5s

@api private This plugin is effectively deprecated in favor of modeled httpChecksumRequired traits.

Constants

OPTIONAL_OPERATIONS

These operations allow Content MD5 but are not required by httpChecksumRequired. This list should not grow.

Public Instance Methods

add_handlers(handlers, config) click to toggle source
# File lib/aws-sdk-s3/plugins/md5s.rb, line 70
def add_handlers(handlers, config)
  if config.compute_checksums
    # priority set low to ensure md5 is computed AFTER the request is
    # built but before it is signed
    handlers.add(
      Handler,
      priority: 10, step: :build, operations: OPTIONAL_OPERATIONS
    )
  end
end