module Datadog::Tracing::Contrib::Aws::S3Presigner
def sign_but_dont_send(*args, &block)
some of its plugins form interfering with the presigning process:
This is the same approach that the AWS SDK takes to prevent
Exclude our Handler from the current request's handler stack.
def sign_but_dont_send(*args, &block) if (request = args[0]).is_a?(::Seahorse::Client::Request) request.handlers.remove(Handler) end super(*args, &block) end