@@ -33,6 +33,7 @@ final class Configuration
33
33
34
34
// S3 specific option
35
35
public const OPTION_PATH_STYLE_ENDPOINT = 'pathStyleEndpoint ' ;
36
+ public const OPTION_SEND_CHUNKED_BODY = 'sendChunkedBody ' ;
36
37
37
38
private const AVAILABLE_OPTIONS = [
38
39
self ::OPTION_REGION => true ,
@@ -49,6 +50,7 @@ final class Configuration
49
50
self ::OPTION_ROLE_SESSION_NAME => true ,
50
51
self ::OPTION_CONTAINER_CREDENTIALS_RELATIVE_URI => true ,
51
52
self ::OPTION_PATH_STYLE_ENDPOINT => true ,
53
+ self ::OPTION_SEND_CHUNKED_BODY => true ,
52
54
];
53
55
54
56
// Put fallback options into groups to avoid mixing of provided config and environment variables
@@ -79,6 +81,7 @@ final class Configuration
79
81
// https://docs.aws.amazon.com/general/latest/gr/rande.html
80
82
self ::OPTION_ENDPOINT => 'https://%service%.%region%.amazonaws.com ' ,
81
83
self ::OPTION_PATH_STYLE_ENDPOINT => 'false ' ,
84
+ self ::OPTION_SEND_CHUNKED_BODY => 'true ' ,
82
85
];
83
86
84
87
private $ data = [];
@@ -120,6 +123,7 @@ public static function optionExists(string $optionName): bool
120
123
* |self::OPTION_SHARED_CONFIG_FILE
121
124
* |self::OPTION_ENDPOINT
122
125
* |self::OPTION_PATH_STYLE_ENDPOINT
126
+ * |self::OPTION_SEND_CHUNKED_BODY
123
127
* ? string
124
128
* : ?string
125
129
* )
0 commit comments