From 2a06f10160ba711921db4a2882280587b1479327 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Tue, 23 Aug 2022 15:55:58 +0100 Subject: [PATCH] Add new service flag s3Disable100Continue (#514) --- Sources/SotoCore/AWSServiceConfig.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/SotoCore/AWSServiceConfig.swift b/Sources/SotoCore/AWSServiceConfig.swift index b373a29f2..9ce242ff4 100644 --- a/Sources/SotoCore/AWSServiceConfig.swift +++ b/Sources/SotoCore/AWSServiceConfig.swift @@ -208,6 +208,9 @@ public final class AWSServiceConfig { /// calculate MD5 for requests with content-md5 header public static let calculateMD5 = Options(rawValue: 1 << 5) + + /// disable `Expect: 100-Continue`` header. Some S3 like services don't like it + public static let s3Disable100Continue = Options(rawValue: 1 << 6) } private init(