title: XDomainRequest - Get response body on error
body: <p>I'm having trouble with XDomainRequest <code>onerror</code> handler. When error occurs, I don't seem to be able to get the body of HTTP response (through <code>xdr.responseText</code>). Successful requests (200 OK) work fine.</p>
  
  <p>Here is the request:</p>
  
  <pre><code>POST http://localhost/path HTTP/1.1
  Accept: */*
  Origin: http://localhost
  Accept-Language: cs-CZ
  Accept-Encoding: gzip, deflate
  User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
  Host: localhost
  Content-Length: 34
  Connection: Keep-Alive
  Pragma: no-cache
  
  [Data]
  </code></pre>
  
  <p>And here is the response:</p>
  
  <pre><code>HTTP/1.1 400 Bad Request
  Content-Length: 54
  Content-Type: application/json; charset=utf-8
  Server: Microsoft-IIS/7.5
  Access-Control-Allow-Origin: *
  Date: Mon, 30 Apr 2012 20:57:32 GMT
  
  [Data]
  </code></pre>
  
  <p>Is it possible to obtain the response body?</p>