title: Is it possible to use Digest-Authentication with a XMLHTTPRequest?
body: <p>I have a simple question: Is it possible to use Digest-Authentication with a XMLHTTPRequest? </p>
  
  <p>If the answer is no, what's the technical reason? Or if it is possible - how can I do that?</p>
  
  <p>Thanks a lot … google has no good answer so far :-/</p>
  
  <p>EDIT:</p>
  
  <p>Thanks for the answers. Modifying the header to match the digest authentication-scheme, after a nonce has been received, seems to be a solution.</p>
  
  <p>But what I was really looking for was that I could change my current call: xmlhttp.open("GET", url, false, username, password);
  to sth. like that xmlhttp.open("GET", url, false, username, password, "DIGEST");</p>
  
  <p>That’s also part of my initial question: Why does the open-method not offer the option to make a digest-request?</p>
  
  <p>Maybe there is js-lib one could recommend that lets me do that - as you imagine I don't really want to change the one and simple xmlhttp.open to multiple requests and first get a nonce.</p>