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

Add support for pre-emptive authentication #61

Open
holyjak opened this issue Apr 29, 2016 · 0 comments
Open

Add support for pre-emptive authentication #61

holyjak opened this issue Apr 29, 2016 · 0 comments

Comments

@holyjak
Copy link

holyjak commented Apr 29, 2016

It would be great if the built-in auth also supported pre-emptive authorisation, i.e.sending the Authorization header at once, instead for waiting for the server to ask for it.

As everything, this is a pain in the HTTPClient. See https://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html 4.6. Preemptive authentication

Currently this can be done manually via http.setHeaders([Authorization: "Basic dG90dTI2Nzg6dG90dTI2Nzg="])

@holyjak holyjak changed the title Add support for pre-emptive authorization Add support for pre-emptive authentication Apr 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant