Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting rememberCookiesForSubsequentRequests to false continues to use prior cookies #520

Closed
murrayju opened this issue Feb 12, 2020 · 1 comment

Comments

@murrayju
Copy link

  • VSCode Version: 1.42.0
  • OS Version: Darwin x64 19.3.0
  • REST Client Version: 0.23.1

Steps to Reproduce:

  1. Start with rememberCookiesForSubsequentRequests set to true
  2. Make some request to a server that responds with Set-Cookie
  3. Change rememberCookiesForSubsequentRequests to false
  4. Make a request to the same server

Expected: cookies are not sent in request headers

Actual: cookies remain in cookie.json, and continue to be sent with every request to the server.

Workaround: delete ~/.rest-client/cookie.json

@Huachao
Copy link
Owner

Huachao commented Feb 12, 2020

@murrayju this is the same reason as in #507, I already fix it and will publish it in the upcoming release.

@Huachao Huachao closed this as completed Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants