class Aws::S3::Plugins::Expect100Continue::Handler

@api private

Public Instance Methods

call(context) click to toggle source
# File lib/aws-sdk-s3/plugins/expect_100_continue.rb, line 17
def call(context)
  body = context.http_request.body
  if body.respond_to?(:size) && body.size > 0
    context.http_request.headers['expect'] = '100-continue'
  end
  @handler.call(context)
end