如何使用请求js从响应标头中记录前端cookie

时间:2020-08-31 03:32:58

标签: request python-requests httpresponse requestjs

我想知道如何在请求的响应标头中记录前端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

0 个答案:

没有答案
相关问题