Class: Aws::Glacier::Plugins::Checksums::Handler Private
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::Glacier::Plugins::Checksums::Handler
- Defined in:
- lib/aws-sdk-glacier/plugins/checksums.rb
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.
Constant Summary collapse
- HASH =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'X-Amz-Content-Sha256'
- TREE_HASH =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'X-Amz-Sha256-Tree-Hash'
Instance Method Summary collapse
- #call(context) ⇒ Object private
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.
41 42 43 44 45 46 |
# File 'lib/aws-sdk-glacier/plugins/checksums.rb', line 41 def call(context) unless context.http_request.headers[TREE_HASH] populate_checksum_headers(context) end @handler.call(context) end |