diepm / vim-rest-console

A REST console for Vim.
658 stars 54 forks source link

`-k` option causes cURL to fail on macOS #43

Closed chaucerbao closed 7 years ago

chaucerbao commented 7 years ago

Since the last update, it looks like the plugin automatically includes the -k flag if the URL has https.

On Mac, it produces:

curl: (35) SSL peer handshake failed, the server most likely requires a client certificate to connect

Running the cURL command without the -k option returns the expected results.

Is there a way to disable the automatic inclusion of that option?

diepm commented 7 years ago

Could you enable the debug mode (let g:vrc_debug=1) , make a request, and paste the debug message here (:mes)?

diepm commented 7 years ago

Nvm. I've just pushed the fix. Could you retest?

chaucerbao commented 7 years ago

Looking good.

Thanks for the fix!