From 9dbbc7254e4b0f49300eb52f9be63220057089e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= Date: Thu, 17 Oct 2024 23:45:37 +0200 Subject: [PATCH] restore comment --- src/push_service/cdn.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/push_service/cdn.rs b/src/push_service/cdn.rs index a345b563e..b88c9e901 100644 --- a/src/push_service/cdn.rs +++ b/src/push_service/cdn.rs @@ -108,6 +108,7 @@ impl PushService { filename: String, mut reader: impl Read + Send, ) -> Result<(), ServiceError> { + // Amazon S3 expects multipart fields in a very specific order (the file contents should go last.) let mut form = reqwest::multipart::Form::new(); form = form.text("acl", upload_attributes.acl); form = form.text("key", upload_attributes.key);