tkf / emacs-request

Request.el -- Easy HTTP request for Emacs Lisp
http://tkf.github.com/emacs-request/
GNU General Public License v3.0
629 stars 93 forks source link

Does request.el use .netrc? #89

Closed wpcarro closed 6 years ago

wpcarro commented 6 years ago

I was wondering if request was pulling -- or could be configured to pull -- values from a user's ~/.netrc file if available. This is similar to what httpie does on the command line and would be great if it was available!

DamienCassou commented 6 years ago

I guess that if the backend is url.el, then auth-sources will start and use netrc if this is how it is configured: check the value of auth-sources.

wpcarro commented 6 years ago

Oh great, auth-sources seems to be pulling from ~/.netrc... I have:

("~/.authinfo" "~/.authinfo.gpg" "~/.netrc")

Thanks for the guidance.

alphapapa commented 6 years ago

@wpcarro Can we close this issue now?

wpcarro commented 6 years ago

Resolved, @alphapapa. Apologies for not making that more clear.

alphapapa commented 6 years ago

No prob, I'm just a fellow user who happened to see this issue.