编程语言/http/HEAD/Cookie 跨域:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第295行: 第295行:
生成的反应头中 set-cookie 变更为
生成的反应头中 set-cookie 变更为
{{leftrightflex|<syntaxhighlight lang="javascript">
{{leftrightflex|<syntaxhighlight lang="javascript">
Set-Cookie: user=kangkk; Domain=askgo.cn; Path=/;</syntaxhighlight>
Set-Cookie: user=kangkk; Domain=kangjian.xyz; Path=/;</syntaxhighlight>
|<syntaxhighlight lang="javascript">
|<syntaxhighlight lang="javascript">
Set-Cookie: user=kangkk; Domain=askgo.cn; Path=/; httponly; secure; SameSite=none</syntaxhighlight>
Set-Cookie: user=kangkk; Domain=kangjian.xyz; Path=/; httponly; secure; SameSite=none</syntaxhighlight>
}}
}}