While developing plugins using plenary.nvim, I notice that it calls curl with option -L by default. However, the website I am working with uses status code 302 to mark the login successful, which leads to an infinite redirection in my plugin. I think it would be good to add support for disabling following redirection, so I add a new option redirect which is true by default.
While developing plugins using
plenary.nvim
, I notice that it callscurl
with option-L
by default. However, the website I am working with uses status code 302 to mark the login successful, which leads to an infinite redirection in my plugin. I think it would be good to add support for disabling following redirection, so I add a new optionredirect
which istrue
by default.