Skip to content

Commit

Permalink
Fix gRPC-Web incorrect empty response handling
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Rebello <[email protected]>
  • Loading branch information
rebello95 committed Sep 7, 2024
1 parent c882747 commit d7059e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ private extension HTTPResponse {
error: error,
tracingInfo: self.tracingInfo
)
} else if message?.isEmpty != false {
} else if message == nil {
return HTTPResponse(
code: .unimplemented,
headers: self.headers,
Expand Down

0 comments on commit d7059e2

Please sign in to comment.