Commit 98b45b2
fix(ci): disable aws-chunked encoding for OSS uploads (#43)
AWS CLI v2.23 enabled default integrity protections that wrap PUT bodies
in aws-chunked encoding with a CRC32 trailer. Aliyun OSS rejects this
(InvalidArgument: aws-chunked encoding is not supported with the
specified x-amz-content-sha256 value).
Set request_checksum_calculation / response_checksum_validation to
when_required so the CLI only applies trailer-based checksums when an
operation explicitly demands them. PUT object falls back to plain
sigv4-signed bodies. Object integrity is still anchored elsewhere
(SHA256 in checksums.txt verified by install.sh).
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e6fb244 commit 98b45b2
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
136 | 140 | | |
137 | 141 | | |
138 | 142 | | |
| |||
0 commit comments