aws-sdk-s3 1.63.0 → 1.63.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/client.rb +1 -1
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c525a0b0642d15bf6400599f8b0d0abb7d04312da3151f13930ce5525385d5f9
|
4
|
+
data.tar.gz: 8de1241f4c50da7a09084c47cd6568a2c6ce7a95059ea7c5803b4099a9325cff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d565966eb03f37109584e723564a971b33ee9205a78084eae561452d81fc8cb11c2c80c0a7a5552549c5af131ffa4cb8cd3721f607e42011cc7f3e2d7ae881dc
|
7
|
+
data.tar.gz: 2530d270d1349d2ce2facc22b8c0c0f04093596fb6588f386cd5f39bec516bbbc90e762533702eb10f73f3bb95f7501c504bf84bb12be0eec68f9ab63024a7e6
|
data/lib/aws-sdk-s3.rb
CHANGED
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -11789,7 +11789,7 @@ module Aws::S3
|
|
11789
11789
|
params: params,
|
11790
11790
|
config: config)
|
11791
11791
|
context[:gem_name] = 'aws-sdk-s3'
|
11792
|
-
context[:gem_version] = '1.63.
|
11792
|
+
context[:gem_version] = '1.63.1'
|
11793
11793
|
Seahorse::Client::Request.new(handlers, context)
|
11794
11794
|
end
|
11795
11795
|
|
@@ -27,9 +27,15 @@ module Aws
|
|
27
27
|
error_code = xml.match(/<Code>(.+?)<\/Code>/)[1]
|
28
28
|
error_message = xml.match(/<Message>(.+?)<\/Message>/)[1]
|
29
29
|
S3::Errors.error_class(error_code).new(context, error_message)
|
30
|
+
elsif !xml.match(/<[\w_]/) # Must have the start of an XML Tag
|
31
|
+
# Other incomplete xml bodies will result in XML ParsingError
|
32
|
+
Seahorse::Client::NetworkingError.new(
|
33
|
+
S3::Errors
|
34
|
+
.error_class('InternalError')
|
35
|
+
.new(context, 'Empty or incomplete response body')
|
36
|
+
)
|
30
37
|
end
|
31
38
|
end
|
32
|
-
|
33
39
|
end
|
34
40
|
|
35
41
|
handler(Handler,
|
@@ -40,7 +46,6 @@ module Aws
|
|
40
46
|
:upload_part_copy,
|
41
47
|
]
|
42
48
|
)
|
43
|
-
|
44
49
|
end
|
45
50
|
end
|
46
51
|
end
|
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.63.
|
4
|
+
version: 1.63.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: 2020-04
|
11
|
+
date: 2020-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|