Sha256: 6b7ff25c230f95f41cc78c5a34d02a87b15b35b1c0f6452fedf6ecd02c221b1e
Contents?: true
Size: 442 Bytes
Versions: 1156
Compression:
Stored size: 442 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, priority: 0) end end end end
Version data entries
1,156 entries across 1,156 versions & 2 rubygems