Class: Aws::S3::Plugins::Redirects

Inherits:
Seahorse::Client::Plugin
  • Object
show all
Defined in:
lib/aws-sdk-s3/plugins/redirects.rb

Defined Under Namespace

Classes: Handler

Instance Method Summary collapse

Instance Method Details

#add_handlers(handlers, config) ⇒ Object



31
32
33
34
35
36
# File 'lib/aws-sdk-s3/plugins/redirects.rb', line 31

def add_handlers(handlers, config)
  if config.follow_redirects
    # we want to re-trigger request signing
    handlers.add(Handler, step: :sign, priority: 90)
  end
end