mirror of
https://github.com/denoland/deno.git
synced 2025-01-10 16:11:13 -05:00
16ea39ee48
Check for expected headers more rigorously and check that it's a HTTP/1.1 GET request. The logic mirrors what Deno Deploy and the tungstenite crate do. The presence of "Sec-Websocket-Version: 13" is now also enforced. I don't expect that to break anything: conforming clients already send it and tungstenite can't talk to older clients anyway. The new code is more efficient due to heap-allocating less and aligns more closely with the checks in ext/http/01_http.js now. |
||
---|---|---|
.. | ||
broadcast_channel | ||
console | ||
crypto | ||
fetch | ||
ffi | ||
http | ||
net | ||
timers | ||
tls | ||
url | ||
web | ||
webgpu | ||
webidl | ||
websocket | ||
webstorage |