1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
fog--fog-aws/lib/fog/aws
Stan Hu 3546408e47 Filter unknown UploadPartCopy paramaters
Previously attempting to use S3 server side encryption headers
(e.g. `x-amz-server-side-encryption`) would fail when attempting to use
`File#copy` because the method would pass these headers to the UploadPartCopy
(https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)
API call. However, this would fail with an error:

```
<Code>InvalidArgument</Code>
<Message>x-amz-server-side-encryption header is not supported for this operation.</Message>
<ArgumentName>x-amz-server-side-encryption</ArgumentName>
<ArgumentValue>AES256</ArgumentValue>
```

This header can and should be used in the CompleteMultipartUpload
call. To support this, we filter out unknown headers in the
UploadPartCopy.
2021-01-09 21:35:18 -08:00
..
elb initial import 2014-12-31 09:17:51 -08:00
iam mocks around iam policies 2017-01-18 09:14:40 -05:00
models Filter unknown UploadPartCopy paramaters 2021-01-09 21:35:18 -08:00
parsers Add support for multipart File#copy 2020-11-17 23:54:46 -08:00
requests Filter unknown UploadPartCopy paramaters 2021-01-09 21:35:18 -08:00
auto_scaling.rb SetInstanceProtection endopoint for auto scaling groups support 2018-03-22 16:14:35 +07:00
beanstalk.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
cdn.rb Warn that Fog::CDN::AWS is deprecated 2018-09-06 19:31:33 -04:00
cloud_formation.rb stack policy 2016-09-13 14:52:54 +01:00
cloud_watch.rb standardize region validation 2015-08-13 10:19:50 -07:00
compute.rb tweak tagged_resources to support both long and short identifiers 2019-05-13 09:16:12 -05:00
credential_fetcher.rb Remove explicit require of nokogiri 2020-10-26 14:24:56 +00:00
data_pipeline.rb fix 1.8 2016-11-08 09:22:12 -05:00
dns.rb consolidate dns class methods, and fix broken tests 2019-06-26 10:47:56 -05:00
dynamodb.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
ecs.rb standardize region validation 2015-08-13 10:19:50 -07:00
efs.rb git grep -l "Compute::AWS" -- lib/ | xargs sed -i "" "s/Compute::AWS/AWS::Compute/g" 2018-09-17 23:02:03 +09:00
elasticache.rb Update elasticache mocking regions 2020-01-21 10:10:46 -07:00
elb.rb Create service ELBV2 to handle specificities of 2015-12-01 API version 2019-10-24 14:12:03 +02:00
elbv2.rb Implement ELBV2 remove_tags endpoint 2020-01-13 17:17:13 +01:00
emr.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
errors.rb Parse kinesis style error responses 2015-07-02 12:02:38 -04:00
federation.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
glacier.rb Document both the support for generating tree hash by adding unaligned parts and the test. 2019-05-29 21:05:55 +02:00
iam.rb instance profile mocks and models 2017-01-19 11:59:24 -05:00
kinesis.rb Update kinesis.rb 2020-03-27 12:24:56 +13:00
kms.rb standardize region validation 2015-08-13 10:19:50 -07:00
lambda.rb standardize region validation 2015-08-13 10:19:50 -07:00
mock.rb Add emulation of default VPC to mocked mode. 2017-10-23 14:31:39 +02:00
rds.rb authorize vpc security group to rds security group 2017-03-21 11:21:32 -04:00
redshift.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
service_mapper.rb Merge branch 'master' into fix_cdn_dpr_warn 2018-09-18 08:41:21 -05:00
ses.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
signaturev4.rb Replaces usage of Digest with OpenSSL::Digest for #261 2016-06-22 22:54:05 -07:00
simpledb.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
sns.rb standardize region validation 2015-08-13 10:19:50 -07:00
sqs.rb Fix the bug that can't create fifo queue. 2016-11-25 15:59:50 +09:00
storage.rb Add support for multipart File#copy 2020-11-17 23:54:46 -08:00
sts.rb set region before fetching credentials 2015-09-29 10:58:17 +01:00
support.rb fix tests 2016-09-21 15:12:32 -04:00
version.rb v3.7.0 2020-12-01 09:18:02 -06:00