zig/lib/std/http
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
..
ChunkParser.zig std.http.Server: reimplement chunked uploading 2024-02-23 02:37:11 -07:00
Client.zig std.posix.iovec: use .base and .len instead of .iov_base and .iov_len 2024-04-28 00:20:30 -07:00
HeaderIterator.zig std.http: header whitespace is optional, and not part of value 2024-02-28 15:12:43 -06:00
HeadParser.zig std.http.Server: reimplement chunked uploading 2024-02-23 02:37:11 -07:00
protocol.zig std.http.Server: expose arbitrary HTTP headers 2024-02-23 02:58:02 -07:00
Server.zig std.posix.iovec: use .base and .len instead of .iov_base and .iov_len 2024-04-28 00:20:30 -07:00
test.zig Uri: propagate per-component encoding 2024-04-10 02:11:54 -07:00
WebSocket.zig std.http.WebSocket: Make 'upgrade: websocket' check case-insensitive 2024-09-12 20:02:19 -07:00