Commit 8363be3
authored
[s3] Pass object parameters to head_object in
When using server-side-encryption with customer-provided keys (SSE-C),
the head_object call needs the SSE-C key and algorithm - otherwise the
call will fail with `botocore.exceptions.ClientError: An error occurred (400)
when calling the HeadObject operation: Bad Request` if the file already
exists.exists (#1451)1 parent aa8a82e commit 8363be3
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
| 584 | + | |
584 | 585 | | |
585 | | - | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
586 | 589 | | |
587 | 590 | | |
588 | 591 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
505 | 514 | | |
506 | 515 | | |
507 | 516 | | |
| |||
0 commit comments