You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .changes/next-release/feature-AmazonS3-7a01820.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,5 +2,5 @@
2
2
"type": "feature",
3
3
"category": "Amazon S3",
4
4
"contributor": "",
5
-
"description": "Added `disableExpect100ContinueForPuts` to `S3Configuration` to control the `Expect: 100-continue` header on PutObject and UploadPart requests. When set to `true`, the SDK stops adding the header. For Apache HTTP client users, to have `ApacheHttpClient.builder().expectContinueEnabled()` fully control the header, set `disableExpect100ContinueForPuts(true)` on `S3Configuration`."
5
+
"description": "Added `expectContinueEnabled` to `S3Configuration` to control the `Expect: 100-continue` header on PutObject and UploadPart requests. When set to `false`, the SDK stops adding the header. For Apache HTTP client users, to have `ApacheHttpClient.builder().expectContinueEnabled()` fully control the header, set `expectContinueEnabled(false)` on `S3Configuration`."
Copy file name to clipboardExpand all lines: services/s3/src/main/java/software/amazon/awssdk/services/s3/internal/handlers/StreamingRequestInterceptor.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@
29
29
30
30
/**
31
31
* Interceptor to add an 'Expect: 100-continue' header to the HTTP Request if it represents a PUT Object or Upload Part
32
-
* request. This behavior can be disabled via {@link S3Configuration#disableExpect100ContinueForPuts()}.
32
+
* request. This behavior can be disabled via {@link S3Configuration#expectContinueEnabled()}.
33
33
*/
34
34
@SdkInternalApi
35
35
//TODO: This should be generalized for all streaming requests
Copy file name to clipboardExpand all lines: services/s3/src/test/java/software/amazon/awssdk/services/s3/functionaltests/Expect100ContinueHeaderTest.java
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@
71
71
* These tests verify the header is correctly omitted for zero-length bodies and included for
72
72
* non-empty bodies in both sync and async S3 operations.
73
73
* <p>
74
-
* Also verifies that {@link S3Configuration#disableExpect100ContinueForPuts()} suppresses the header
74
+
* Also verifies that {@link S3Configuration#expectContinueEnabled()} suppresses the header
75
75
* for all put operations regardless of body content, across all HTTP client types.
0 commit comments