-
Notifications
You must be signed in to change notification settings - Fork 445
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
Use cookies #8
Comments
@ganlhi, thanks for your suggestion. If implement this, I may need to implement a cookie storage, I think this is low priority now. I will consider this later. And now you can copy the value in Set-Cookie header and paste in request. BTW, copy will be enable when VS Code release new version |
@ganlhi, I am considering the automatically sending/storing cookie feature, and I have a question that wants to discuss with you. As we all know, cookies can be persistent cookie(for browser, normally stored on disk and available until expire time), or session cookie(temporary and erase when browser close, no expire time in |
Well... I'm not an expert on implementing these things, but maybe you can consider a vscode window to be a browser instance, and so delete session cookies when window is closed? |
@ganlhi , or if I can handle these 2 kind of cookies in the way like browser, for persistent cookie, I will save them to local file system which can be reused next time; for session cookie, I will only save them in memory, and if VS Code is closed, our extension are inactive, and all the session cookie in memory are automatically removed. Next time you open vs code and activate our extension, you can only use the persistent cookie stored in file. |
That seems a good idea! |
@ganlhi , this feature has been implemented in latest version 0.7.0, please help to verify it 🚀 |
Hey there! Good news! |
As far as I can see, cookies received by previous requests are not automatically sent with subsequent requests to the same host. Woul it be possible?
The text was updated successfully, but these errors were encountered: