Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
浏览器是在接收到 header 之后还是在接收到 body 之后设置 cookie?这与在请求正文中发送大文件时相关。
我认为浏览器会在处理响应标头时设置 cookie,因为 cookie 信息就在其中。接收标头,然后在处理 html 后设置 cookie 没有多大意义。