diff options
author | John Turner <jturner.usa@gmail.com> | 2025-09-05 18:23:23 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-09-05 18:23:23 -0400 |
commit | 24c69c29149526b46c01a7e1f99d873e1dbdb8bf (patch) | |
tree | cdb49af51fa2d05dd9c9ab38db9d76f144d5bb42 | |
parent | 3c9ceb3b54563be448dfcd35797bc9ad27c5f2a5 (diff) | |
download | pypaste-24c69c29149526b46c01a7e1f99d873e1dbdb8bf.tar.gz |
add Content-Length header to delete request
-rw-r--r-- | paste/s3.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/paste/s3.py b/paste/s3.py index a9b2b21..673e428 100644 --- a/paste/s3.py +++ b/paste/s3.py @@ -83,6 +83,7 @@ class Bucket: "Host": self.endpoint, "X-Amz-Date": s3v4_datetime_string(now), "X-Amz-Content-SHA256": "UNSIGNED-PAYLOAD", + "Content-Length": "0", } auth = s3v4_sign_request( |