Comments (7)
@ganlhi , this feature has been implemented in latest version 0.7.0, please help to verify it π
from vscode-restclient.
@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
from vscode-restclient.
@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 Set-Cookie
header).
So I am not sure how we should handle the session cookie in my extension?
from vscode-restclient.
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?
from vscode-restclient.
@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.
from vscode-restclient.
That seems a good idea!
from vscode-restclient.
Hey there! Good news!
Just got back from vacation. Will try this ASAP.
from vscode-restclient.
Related Issues (20)
- GraphQL Auto-Complete
- Copy Request As cURL incorrectly includes data
- Make it possible to run the request on floating auxiliary windows
- Multi-part requests: user should be able to set content-type for each part in a multi-part request. HOT 3
- Cannot click SEND REQUEST if swapping window HOT 7
- Concatenate variables HOT 1
- Request body in JSON file not working with relative or absolute path HOT 1
- Response extremely slow compared to Postman HOT 1
- Is it possible to not encode a Basic Authorization header?
- Output or Print response or value of variable ( HOT 3
- ζδ»Άε€±ζδΊε¦ HOT 1
- No Send Request link HOT 1
- [VS Code IDE] socket hang up only for http request after upgrade vscode to v1.81 and above
- Warning: The content type of response is application/json, while response body is not a valid json string HOT 1
- add support for default url defined by `@host` for httpyac compatibitlity
- why not support 'DELETE' option.
- The gzip-compressed JSON data transmitted by the backend is not available to the variables.
- TLS problem(mybe) with domain in /etc/hosts with traefik
- Please release latest version HOT 1
- πΎ not working for me - details in description
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-restclient.