Commit ef63fb9
authored
fix(object_store): Include Content-MD5 header for S3 DeleteObjects (#5415)
* fix(object_store): Include Content-MD5 header for S3 DeleteObjects
S3 API [specification](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjects.html)
requires the presence of this header for all `DeleteObjects` requests to
general purpose buckets:
> The Content-MD5 request header is required for all Multi-Object Delete requests
Some platform, such as MinIO, enforce this requirement, failing requests
that don't include the header.
* Switch dependency from md5 to md-5
md-5 seems better maintained.1 parent 5bb226c commit ef63fb9
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
438 | 439 | | |
439 | 440 | | |
440 | 441 | | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
441 | 450 | | |
442 | 451 | | |
443 | 452 | | |
| |||
0 commit comments