Skip to content

Commit

Permalink
Add new service flag s3Disable100Continue (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler authored Aug 23, 2022
1 parent 05a54b5 commit 2a06f10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/SotoCore/AWSServiceConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2a06f10

Please sign in to comment.