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

CURL -b option not working properly #114

Open
drmistral opened this issue Aug 10, 2017 · 1 comment
Open

CURL -b option not working properly #114

drmistral opened this issue Aug 10, 2017 · 1 comment
Milestone

Comments

@drmistral
Copy link

  • VSCode Version: 1.14.2
  • OS Version: MacOS Sierra 10.12.3
  • REST Client Version: 0.15.1

Curl option -b sends a local cookie file to the server while executing subsequent (curl) rest calls. It seems that from vs rest client file is not sent:

Steps to Reproduce :

  1. Save following content in a file /tmp/cookies.txt
# Netscape HTTP Cookie File
# https://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.

httpbin.org     FALSE   /       FALSE   0       k2      value2
httpbin.org     FALSE   /       FALSE   0       k1      value1
  1. From terminal, check sending of local cookie info:
    curl -i -b "/tmp/cookies.txt" "http://httpbin.org/cookies"
    you get
{
  "cookies": {
    "k1": "val1", 
    "k2": "val2"
  }
}
  1. Repeat step 2 but from vs rest client, you get
{
  "cookies": {}
}
@Huachao
Copy link
Owner

Huachao commented Aug 11, 2017

@drmistral our extension doesn't support customize cookie jar file path, we already support built-in cookie jar as described in #113

@Huachao Huachao added this to the backlog milestone Aug 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants