Sha256: 631b60830faf754225bc3e39962b57c4e255e2d691e6c742a55703490a8d90f2
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 Bytes
Contents
module Seahorse module Client module Plugins class ContentLength < Plugin # @api private class Handler < Client::Handler def call(context) length = context.http_request.body.size context.http_request.headers['Content-Length'] = length @handler.call(context) end end handler(Handler, step: :sign, proiority: 0) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aws-sdk-core-2.0.0.rc1 | vendor/seahorse/lib/seahorse/client/plugins/content_length.rb |