Interpret "Authorization: Basic <user>:<pass>" header as basic auth#115
Interpret "Authorization: Basic <user>:<pass>" header as basic auth#115srihari93 wants to merge 1 commit intorest-nvim:mainfrom
Conversation
|
When will this be merged? |
Please refer to latest #126 notice. I know this is something important, however, current codebase is fragile on its current state so merging any existing PR would lead to merge conflicts with any other PR and it's not worth it right now. Plugin rewrite is on its way tho, stay tuned and my apologies for the delay! |
|
Is this going to be added to version 2 ? |
Yessir, however there is no ETA. I have to fix a couple of bugs and a few other things first. Also, this implementation currently doesn't work for us due to changes in v2 so I have to redo it from scratch :) |
|
Hi, is this functionality going to be added to version 3? it is part of Intellij's http client spec |
|
Closing for v3 release and #529 |
Trying to add the ability to interpret a special header line
Authorization: Basic <user>:<pass>as basic authorization.This follows the VS code rest plugin's style of interpreting basic auth.
POST https://fake.com/api/some Authorization: Basic user:password Content-Type: application/json { "key": "jafa" }is converted to
curl -sSL --compressed -X 'POST' -H 'Content-Type: application/json' -d 'key=jafa' -u 'user:password' 'https://fake.com/api/some'@NTBBloodbath
There is an alternative suggestion here on how to do the basic auth, both of these styles can live together, IMHO. I went for this style as its compatible with the heavily used VS code. Feel free to reject this if the VS code style is not palatable. Also fine if you have issues with style, let me know I will fix and get back to you.