Today I faced the term "cookiejar" (package net/http/cookiejar
). I tried to gather some information regarding it, but got nothing intelligible came out. I know that cookie is key/value pairs that server sends to a client, eg: Set-Cookie: foo=10
, browser stores it locally and then each subsequent request browser will send these cookies back to the server, eg: Cookie: foo=10
.
Ok, but what about cookiejar? What is it and how does it look like?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…