From 11e5f1c036afc9fc1a50f2247dd59c05bbea9ae6 Mon Sep 17 00:00:00 2001 From: Denis Feklushkin Date: Tue, 22 Oct 2024 14:19:21 +0300 Subject: [PATCH] Adds SameSite=None cookie option --- source/vibe/http/common.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/vibe/http/common.d b/source/vibe/http/common.d index b0115b6..85ecb76 100644 --- a/source/vibe/http/common.d +++ b/source/vibe/http/common.d @@ -733,6 +733,7 @@ final class Cookie { enum SameSite { default_, lax, + none, strict, } @@ -845,6 +846,7 @@ final class Cookie { case default_: break; case lax: dst.put("; SameSite=Lax"); break; case strict: dst.put("; SameSite=Strict"); break; + case none: dst.put("; SameSite=None"); break; } }