Skip to content

Commit

Permalink
fix (httpclient-vertx) : Convert URI to Websocket URI while building …
Browse files Browse the repository at this point in the history
…websockets

Signed-off-by: Rohan Kumar <[email protected]>
  • Loading branch information
rohanKanojia authored and manusa committed Dec 20, 2023
1 parent 6d6b2d5 commit 64735c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public CompletableFuture<WebSocketResponse> buildWebSocketDirect(StandardWebSock

request.headers().entrySet().stream()
.forEach(e -> e.getValue().stream().forEach(v -> options.addHeader(e.getKey(), v)));
options.setAbsoluteURI(request.uri().toString());
options.setAbsoluteURI(WebSocket.toWebSocketUri(request.uri()).toString());

CompletableFuture<WebSocketResponse> response = new CompletableFuture<>();

Expand Down

0 comments on commit 64735c1

Please sign in to comment.