class Aws::Plugins::S3Md5s::Handler

@api private

Public Instance Methods

call(context) click to toggle source
# File lib/aws-sdk-core/plugins/s3_md5s.rb, line 26
def call(context)
  body = context.http_request.body
  if body.size > 0
    context.http_request.headers['Content-Md5'] ||= Checksums.md5(body)
  end
  @handler.call(context)
end