class Seahorse::Client::Plugins::ContentLength::Handler
@api private
Public Instance Methods
call(context)
click to toggle source
# File lib/seahorse/client/plugins/content_length.rb, line 9 def call(context) length = context.http_request.body.size context.http_request.headers['Content-Length'] = length @handler.call(context) end