I think cookie parsing is broken on the latest version of jetzig. I'm using zig 0.14.1.
if (cookies.get("ownfusion-token")) |cookie| {
token = cookie.value;
std.debug.print("cookie: {s}", .{cookie.value});
}
This block gets missed, but I see the cookie being sent in my request with that name. I can also manually pull the cookie header:
if (request.headers.getFirstValue("Cookie")) |value| {
std.debug.print("found header {s}", .{value});
}
That shows my cookie.
I think cookie parsing is broken on the latest version of jetzig. I'm using zig 0.14.1.
This block gets missed, but I see the cookie being sent in my request with that name. I can also manually pull the cookie header:
That shows my cookie.