An HTTP/1.1 server for zig
0

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #201 from SmiVan/smivan-dev

Refactor indexOfIgnoreCase() to findIgnoreCase()

+1 -1
+1 -1
src/httpz.zig
··· 671 671 672 672 // firefox will send multiple values for this header 673 673 const connection = req.header("connection") orelse return false; 674 - if (std.ascii.indexOfIgnoreCase(connection, "upgrade") == null) { 674 + if (std.ascii.findIgnoreCase(connection, "upgrade") == null) { 675 675 return false; 676 676 } 677 677