Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

101
Views
Cannot find `Set-Cookie` in Chrome debugger's `Network` tag

The steps:

  • Clear the cookies.
  • Click the button to POST GraphQL request.
  • Find that there is a cookie: jwt=I%20AM%20peterlitszo%40gmail.com.

I am sure that the cookie is setted by response:

const result = res(
   // It will set header with `Set-Cookie: jwt=I%20AM%20peterlitszo%40gmail.com`
  ctx.cookie('jwt', `I AM ${email}`),
  ctx.data({
    users: [],
  }),
);

But I cannot find Set-Cookie in Chrome debugger's Network tag.

enter image description here

I am no sure what happen, do Set-Cookie cannot be show in Devtool? I cannot find information about it with Google.

Not only Chrome, I cannot find it in Firefox. :(

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Sorry, my bad.

Here is answer, https://mswjs.io/docs/recipes/cookies#mock-response-cookies :

Note that you still won't be able to access the Set-Cookie header on the response, as the cookie is set on the document directly, bypassing network.

I am using MSW to mock data, also mock the Set-Cookie.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!