class Aws::Plugins::S3Redirects

by Amazon S3.
When ‘true`, this client will follow 307 redirects returned
@seahorse.client.option [Boolean] :follow_redirects (true)

def add_handlers(handlers, config)

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