summaryrefslogtreecommitdiff
path: root/paste/s3.py
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-09-05 18:23:23 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-09-05 18:23:23 -0400
commit24c69c29149526b46c01a7e1f99d873e1dbdb8bf (patch)
treecdb49af51fa2d05dd9c9ab38db9d76f144d5bb42 /paste/s3.py
parent3c9ceb3b54563be448dfcd35797bc9ad27c5f2a5 (diff)
downloadpypaste-24c69c29149526b46c01a7e1f99d873e1dbdb8bf.tar.gz
add Content-Length header to delete request
Diffstat (limited to 'paste/s3.py')
-rw-r--r--paste/s3.py1
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(