title: xmlhttpRequest error on google chrome
body: <p>I have a method in javascript that does the folowing:</p>
  
  <blockquote>
  <pre><code> var X =  new XMLHttpRequest();
   X.open('GET',U,false);
   X.setRequestHeader('Content-Type','text/html');
   X.send('');    
  </code></pre>
    
    <p>where U = path to a file...example: xyz/abc.txt.</p>
  </blockquote>
  
  <p>It works fine on firefox, but opening it on chrome gives me the following error:</p>
  
  <pre><code>Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101
  </code></pre>
  
  <p>It says error on X.send('').I tried </p>
  
  <pre><code>X.send(null); //did not work
  X.send()     // did not work.
  </code></pre>
  
  <p>Any help on this is much appreciated. Thanks!</p>