Skip to content

Commit

Permalink
Flush body, when not expecting anything
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Jun 20, 2023
1 parent 5bbc095 commit 8931bb0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/SotoCore/AWSClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ extension AWSClient {
configuration: serviceConfig
)
},
processResponse: { _ in
processResponse: { response in
for try await _ in response.body {}
return
},
config: serviceConfig,
Expand Down Expand Up @@ -291,7 +292,8 @@ extension AWSClient {
configuration: serviceConfig
)
},
processResponse: { _ in
processResponse: { response in
for try await _ in response.body {}
return
},
config: serviceConfig,
Expand Down

0 comments on commit 8931bb0

Please sign in to comment.