Skip to content

Commit 39d1eeb

Browse files
committed
Remove TODO which is fixed through RestEventStreamAsyncResponseTransformer class
1 parent c9d0c95 commit 39d1eeb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/aws-core/src/main/java/software/amazon/awssdk/awscore/eventstream/EventStreamAsyncResponseTransformer.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,6 @@ public CompletableFuture<Void> prepare() {
195195

196196
@Override
197197
public void onResponse(SdkResponse response) {
198-
// We use a void unmarshaller and unmarshall the actual response in the message
199-
// decoder when we receive the initial-response frame. TODO not clear
200-
// how we would handle REST protocol which would unmarshall the response from the HTTP headers
201198
if (response != null && response.sdkHttpResponse() != null) {
202199
this.requestId = response.sdkHttpResponse()
203200
.firstMatchingHeader(X_AMZN_REQUEST_ID_HEADER)

0 commit comments

Comments
 (0)