slimphp / Slim-Psr7

PSR-7 implementation for use with Slim 4
MIT License
133 stars 45 forks source link

Added None to the allowed SameSite parameters in toHeader method. #201

Closed halilsafakkilic closed 3 years ago

halilsafakkilic commented 3 years ago

Added None to the allowed SameSite parameters in toHeader method because if you set it to samesite=None, it does not show because it is not included in the defined list while generating the header. See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite#none