title: Can xmlHttpRequest access the Authorization header in Firefox
body: <p>I may be missing something obvious... but</p>
  
  <p>I am trying to enhance the native subversion http access with a greasemonkey plugin. At the moment I am using CGI scripts to run PROPFIND etc. This subverts security although it does work.</p>
  
  <p>I have downloaded a Javascript DAV client that will do all that I want from <a href="http://debris.demon.nl/projects/davclient.js/" rel="nofollow">http://debris.demon.nl/projects/davclient.js/</a>. Assuming I can use the user credentials already supplied, I should be able to get extended subversion information using javascript with correct security.</p>
  
  <p>We run Basic authentication on the subversion server and I do not know how to make the xmlHttpRequest in this library inherit the pre-existing browser authentication details. The xmlHttpRequest returns 401 although the calling page is authenticated and on the same domain.</p>