srctree

Gregory Mullen parent 7564fe07 bc36f0a9
add missing same site cookie seperator

src/cookies.zig added: 4, removed: 4, total 0
@@ -33,9 +33,9 @@ pub const Attributes = struct {
if (a.max_age) |m|
try w.print("; Max-Age={}", .{m});
if (a.same_site) |s| try switch (s) {
.strict => w.writeAll("SameSite=Strict"),
.lax => w.writeAll("SameSite=Lax"),
.none => w.writeAll("SameSite=None"),
.strict => w.writeAll("; SameSite=Strict"),
.lax => w.writeAll("; SameSite=Lax"),
.none => w.writeAll("; SameSite=None"),
};
if (a.partitioned)
try w.writeAll("; Partitioned");