简体   繁体   中英

Where do http cookies come from, which are not set by “Set-Cookie” response headers?

I am trying to reconstruct/imitate a browser request from my spring boot backend. I do a GET request to the server and store all the response headers with 'Set-Cookie', which are three in total.

When I delete my cookies and re-fire the request in browser though, ten cookies are added to my browser cookies instead of three. I went through the network traffic recording of Chrome and could not find any responses which set cookies despite the first one with three.

Where do the other seven cookies come from? How can I save those seven missing cookies to my backend in order to make a valid follow up request?

For reference: https://www.dhl.de/de/privatkunden/pakete-empfangen/verfolgen.html

Cookies in browser request

Thank you so much in advance, any resource means a lot to me.

Javascript, document.cookies.

(I need more characters to hit the minumum for an answer)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM