Class: Aws::S3::Plugins::StreamingRetry Private
- Inherits:
-
Seahorse::Client::Plugin
- Object
- Seahorse::Client::Plugin
- Aws::S3::Plugins::StreamingRetry
- Defined in:
- lib/aws-sdk-s3/plugins/streaming_retry.rb
Overview
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.
This handler works with the ResponseTarget plugin to provide smart retries of S3 streaming operations that support the range parameter (currently only: get_object). When a 200 OK with a TruncatedBodyError is received this handler will add a range header that excludes the data that has already been processed (written to file or sent to the target Proc). It is important to not write data to the custom target in the case of a non-success response. We do not want to write an XML error message to someone’s file or pass it to a user’s Proc.
Defined Under Namespace
Classes: Handler