Class: Aws::Plugins::GlacierChecksums::Handler
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::Plugins::GlacierChecksums::Handler
- Defined in:
- lib/aws-sdk-core/plugins/glacier_checksums.rb
Constant Summary collapse
- HASH =
'X-Amz-Content-Sha256'
- TREE_HASH =
'X-Amz-Sha256-Tree-Hash'
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Handler
Instance Method Summary collapse
Methods inherited from Seahorse::Client::Handler
Constructor Details
This class inherits a constructor from Seahorse::Client::Handler
Instance Method Details
#call(context) ⇒ Object
36 37 38 39 40 41 |
# File 'lib/aws-sdk-core/plugins/glacier_checksums.rb', line 36 def call(context) unless context.http_request.headers[TREE_HASH] populate_checksum_headers(context) end @handler.call(context) end |