Cookie header error
Band-Aid opened this issue ยท 4 comments
Band-Aid commented
Describe the bug
I am getting the following error even though I have configured the Cookie header param.
Error when sending request: First argument to setCookie must be a Cookie object or string
To Reproduce
- Create a new request
- enter any URL
- In the header type in Cookie: seesion.jwt=xxxxx
- Notice the error
Error when sending request: First argument to setCookie must be a Cookie object or string
removing the dot in the cookie param does not prompt you with the error
It appears as though the app does not like the dot in between. This previously worked with out any issues.
Something must have changed in how you parse the cookie params
Expected behavior
Platform:
- OS: Windows 11 (ARM / MacOS ARM
- vscode version: 1.91.1
- node version: 20 LTS
- extension version: 2.27.0
Are you using the free version/paid version/trial:
Paid version
rangav commented
Thanks for reporting the bug, will fix it asap.
rangav commented
This bug is fixed in v2.27.3
Please test it and let me know your feedback.