class Aws::DynamoDB::Plugins::CRC32Validation::Handler

def call(context)

def call(context)
  # disable response gzipping - Net::HTTP unzips these responses
  # before we can see the body, making it impossible to verify
  # the CRC32 checksum against the compressed body stream
  context.http_request.headers['accept-encoding'] = ''
  @handler.call(context).on_success do |response|
    response.error = validate(context)
  end
end