I have a simple question: can I use Digest-Authentication with XMLHTTPRequest?
If the answer is no, what is the technical reason? Or, if possible - how can I do this?
Thank you very much ... google has no good answer yet: - /
EDIT:
Thanks for answers. Changing the header according to the digest authentication scheme after receiving nonce seems to be the solution.
But I really searched that I can change my current call: xmlhttp.open ("GET", url, false, username, password); to Art. for example, xmlhttp.open ("GET", url, false, username, password, "DIGEST");
This is also part of my original question: why doesn't the open method offer an option to make a digest request?
Perhaps there is js-lib that I can recommend that allows me to do this - do you think I really don't want to change one simple xmlhttp.open to multiple requests and get nonce first.
user880625
source share