https://developer.chrome.com/docs/extensions/reference/cookies/
chrome cookie is defined above. Namely, there are the following cookie fields.
- domain
- expirationDate
- hostOnly
- httpOnly
- name
- path
- sameSite
- secure
- session
- storeId
- value
https://curl.se/docs/http-cookies.html
Here lists the netscape cookie fields.
- string example.com - the domain name
- boolean FALSE - include subdomains
- string /foobar/ - path
- boolean TRUE - send/receive over HTTPS only
- number 1462299217 - expires at - seconds since Jan 1st 1970, or 0
- string person - name of the cookie
- string daniel - value of the cookie
I want to know the mapping from the netscape cookie fields to the chrome cookie fields. Some are obvious.
- 0 -> domain
- 2 -> path
- 4 -> expirationDate
- 5 -> name
- 6 -> value
But the rest 1 and 3 are not clear to me. Could anybody show me what they map to?
Also, why the other chrome cookie fields are not available in netscape cookie fields? Thanks.