thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.61k stars 126 forks source link

Cookie header is cached and same is used for subsequent requests #1466

Closed g54799 closed 7 months ago

g54799 commented 7 months ago

Describe the bug

When a "Cookie" header is specified for a request, it is cached the first time is sent and then the same is sent with subsequent requests even if it is updated.

To Reproduce

  1. Create a request with a "Cookie" header.
  2. Send the request.
  3. Update the value of the cookie in the header.
  4. Send the request again.
  5. Check the value of the cookie in the remote service, you will see it is not the updated value but the previous one.

Expected behavior

When a cookie is set to a value in the Cookie header it should be used.

Platform:

Are you using the free version/paid version/trial: Free

rangav commented 7 months ago

Hi @g54799

I tested it now it's working for me.

  1. You can use the test URL - https://www.thunderclient.com/t/params
  2. change cookie value from blue to red
Screenshot 2024-01-23 at 16 08 11
rangav commented 7 months ago

Closing this issue, feel free to continue discussion