You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=> Some web servers will concat duplicate header to one or array that leads to the wrong user-agent header
Reason
Deno set default User-Agent header value (array) into a fetch request
Deno append new headers of WebSocketStream into existing fetch's headers array
The text was updated successfully, but these errors were encountered:
Version: Deno/2.0.6
Step 1
Websocket Stream client (
ws.ts
):Step 2
Open Wireshark to capture websocket's http handshake request
Step 3
Run client:
Result
http handshake request
=> Some web servers will concat duplicate header to one or array that leads to the wrong user-agent header
Reason
Deno set default User-Agent header value (array) into a fetch request
Deno append new headers of WebSocketStream into existing fetch's headers array
The text was updated successfully, but these errors were encountered: