@@ -33,6 +33,7 @@ final class Configuration
3333
3434 // S3 specific option
3535 public const OPTION_PATH_STYLE_ENDPOINT = 'pathStyleEndpoint ' ;
36+ public const OPTION_SEND_CHUNKED_BODY = 'sendChunkedBody ' ;
3637
3738 private const AVAILABLE_OPTIONS = [
3839 self ::OPTION_REGION => true ,
@@ -49,6 +50,7 @@ final class Configuration
4950 self ::OPTION_ROLE_SESSION_NAME => true ,
5051 self ::OPTION_CONTAINER_CREDENTIALS_RELATIVE_URI => true ,
5152 self ::OPTION_PATH_STYLE_ENDPOINT => true ,
53+ self ::OPTION_SEND_CHUNKED_BODY => true ,
5254 ];
5355
5456 // Put fallback options into groups to avoid mixing of provided config and environment variables
@@ -79,6 +81,7 @@ final class Configuration
7981 // https://docs.aws.amazon.com/general/latest/gr/rande.html
8082 self ::OPTION_ENDPOINT => 'https://%service%.%region%.amazonaws.com ' ,
8183 self ::OPTION_PATH_STYLE_ENDPOINT => 'false ' ,
84+ self ::OPTION_SEND_CHUNKED_BODY => 'true ' ,
8285 ];
8386
8487 private $ data = [];
@@ -120,6 +123,7 @@ public static function optionExists(string $optionName): bool
120123 * |self::OPTION_SHARED_CONFIG_FILE
121124 * |self::OPTION_ENDPOINT
122125 * |self::OPTION_PATH_STYLE_ENDPOINT
126+ * |self::OPTION_SEND_CHUNKED_BODY
123127 * ? string
124128 * : ?string
125129 * )
0 commit comments