aws-sdk-s3 1.88.0 → 1.88.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c68fb2d0d86cd2d649a7468bfcb1a89719fd745029178d41169786363f08eec
4
- data.tar.gz: 6e70d3ddc402afc02f834caaab226766baffa7b6deb461cc83eb5605392db326
3
+ metadata.gz: '08dfcc1110245eeea27aa0db3859e6a508d899e4854df2a99f00f410cad836e9'
4
+ data.tar.gz: 30d80816c9fc08d5c7311bfa86b26af01f63bda25be70687bad639672171cf56
5
5
  SHA512:
6
- metadata.gz: 97726812bbc8722eaee50bcbbd39711f15b7d54c453240e024ddb4a1d761eb2806f5f80f17e42bdfa9771aaceb068f171ee79bf317a7c59375588f7bbb56db2e
7
- data.tar.gz: f7312d5061b498e88504b99e7c0f153c2ca8dc7fce2e32e5745756f651561b40ccaedf6f8d0d1d1b1a4aed30bf58dbcb732c631c07271cf0f0e23b73f437b00a
6
+ metadata.gz: 2f6e949d35d3744fdc9f40fe5e882a019ab28ed823de0691d98a434b0ee3d4e790ac3757116fa07a33174ed03ed94e5d096280b18e4299d41b3dd1ebfc53ef6f
7
+ data.tar.gz: d91ed03960cd28122b35019e36aa426848b5bbe72033eb812997040e4155dc4167c67ad66ee83ae740367ff76b0499e531d89ca3e3cdeecbe428f8741ba59f6d
data/lib/aws-sdk-s3.rb CHANGED
@@ -69,6 +69,6 @@ require_relative 'aws-sdk-s3/event_streams'
69
69
  # @!group service
70
70
  module Aws::S3
71
71
 
72
- GEM_VERSION = '1.88.0'
72
+ GEM_VERSION = '1.88.1'
73
73
 
74
74
  end
@@ -13566,7 +13566,7 @@ module Aws::S3
13566
13566
  params: params,
13567
13567
  config: config)
13568
13568
  context[:gem_name] = 'aws-sdk-s3'
13569
- context[:gem_version] = '1.88.0'
13569
+ context[:gem_version] = '1.88.1'
13570
13570
  Seahorse::Client::Request.new(handlers, context)
13571
13571
  end
13572
13572
 
@@ -15,7 +15,8 @@ module Aws
15
15
  class Handler < Seahorse::Client::Handler
16
16
 
17
17
  def call(context)
18
- if context.http_request.body && context.http_request.body.size > 0
18
+ body = context.http_request.body
19
+ if body.respond_to?(:size) && body.size > 0
19
20
  context.http_request.headers['expect'] = '100-continue'
20
21
  end
21
22
  @handler.call(context)
@@ -23,7 +23,7 @@ module Aws
23
23
 
24
24
  def call(context)
25
25
  body = context.http_request.body
26
- if body.size > 0
26
+ if body.respond_to?(:size) && body.size > 0
27
27
  context.http_request.headers['Content-Md5'] ||= md5(body)
28
28
  end
29
29
  @handler.call(context)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.88.0
4
+ version: 1.88.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms