如何解决如何使用请求js从响应标头中记录前端cookie
我想知道如何在请求的响应标头中记录前端cookie ...响应标头:
cache-control: s-maxage=0,max-age=120
cf-cache-status: BYPASS
cf-ray: 5cb39486cac7e0ca-IAD
cf-request-id: 04e41b28410000e0ca87a88200000001
content-type: text/html; charset=UTF-8
date: Mon,31 Aug 2020 03:14:15 GMT
expect-ct: max-age=604800,report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
location: //location here doesnt matter
p3p: CP="CAO PSA OUR"
server: cloudflare
//here is the frontend cookie below
set-cookie: frontend=frontend cookie here; expires=Tue,01-Sep-2020 03:14:15 GMT; Max-Age=86400; path=/; domain=domain; HttpOnly
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。