class Seahorse::Client::Plugins::ContentLength::Handler
@api private
def call(context)
def call(context) begin length = context.http_request.body.size context.http_request.headers['Content-Length'] = length rescue # allowing `Content-Length` failed to be set # see Aws::Plugins::TransferEncoding end @handler.call(context) end