Skip to content

Commit 5e9c178

Browse files
committed
fix: use the correct HTTP method (GET) for WS connections
Closes: #883
1 parent 7400f4e commit 5e9c178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proxy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ impl ProxyHandlerWebSocket {
315315
let outbound_request = match make_outbound_request(
316316
inbound_proto,
317317
&outbound_uri,
318-
http::Method::CONNECT,
318+
http::Method::GET,
319319
req_headers,
320320
override_headers,
321321
) {

0 commit comments

Comments
 (0)