Andrew Kelley
c7040171fb
std.http: mostly finish the rewrite
2025-07-01 16:35:28 -07:00
Andrew Kelley
81b0d14e2b
std.http: rewrite
...
WIP
2025-07-01 16:35:28 -07:00
Jacob Young
6a0f2227e8
build_runner: port to std.io.BufferedReader API changes
2025-07-01 16:35:27 -07:00
Jacob Young
ffb0e283d7
build_runner: fix compile errors
2025-07-01 16:35:27 -07:00
Andrew Kelley
a4fdda6ae0
std.io: redo Reader and Writer yet again
...
explicit error sets ahoy matey
delete some sus APIs from File that need to be reworked
2025-07-01 16:35:27 -07:00
Jacob Young
a21e7ab64f
build_runner: port to new std.io.BufferedWriter API
2025-07-01 16:35:26 -07:00
Andrew Kelley
646454beb5
maybe it's better to track bytes written in BufferedWriter
2025-07-01 16:35:26 -07:00
Andrew Kelley
4aed226e07
zig fmt compiling
2025-07-01 16:35:26 -07:00
Kuwazy
6b6dc1cd3a
Added check for HTTP version and GET method when upgrading WebSocket to comply with RFC 6455. ( #23332 )
2025-03-25 15:00:50 +01:00
Linus Groh
e17dfb9da0
std.http.WebSocket: Make 'upgrade: websocket' check case-insensitive
...
I've seen implementations in the wild that send 'Upgrade: WebSocket',
which currently fails the handshake.
From https://datatracker.ietf.org/doc/html/rfc6455 :
"If the response lacks an |Upgrade| header field or the |Upgrade| header
field contains a value that is not an ASCII case-insensitive match for
the value "websocket", the client MUST _Fail the WebSocket Connection_."
2024-09-12 20:02:19 -07:00
Andrew Kelley
b9fd0eeca6
add std.http.WebSocket
2024-08-07 00:48:32 -07:00