aws-sdk-perl icon indicating copy to clipboard operation
aws-sdk-perl copied to clipboard

S3 PutBucketPolicy fixed

Open byterock opened this issue 6 years ago • 0 comments

This call returns only json so made this change to Paws::Net::RestXMLResponse

sub response_to_object

+        $unserialized_struct = {};
+      } elsif (exists($headers->{'content-type'})
+                      and $headers->{'content-type'} eq 'application/json'
+                  and $ret_class->can('_payload')){
+        $unserialized_struct->{$ret_class->_payload} = $content;
+         } else {

https://github.com/byterock/aws-sdk-perl/tree/s3ObjectTagging

no boto changes

byterock avatar Nov 03 '19 16:11 byterock