title: XMLHttpRequest over SSL doesn't return any data
body: <p>I'm trying to use XMLHttpRequest over SSL for a login system.  Currently, I'm just testing the capabilities of XMLHttpRequest over SSL to make sure it indeed works.  So here's what I'm testing:</p>
  
  <p>Relevant Javascript:</p>
  
  <pre><code>xml_request.open("POST", "https://......", true);
  
  xml_request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  xml_request.setRequestHeader("Content-length", 0);
  xml_request.setRequestHeader("Connection", "close");
  
  xml_request.send();
  
  alert(xml_request.reponseText); //displayed using the appropriate onreadystatechange handler
  </code></pre>
  
  <p>PHP Script:</p>
  
  <pre><code>print json_encode(array(
    "text" =&gt; "this is text"
  ));
  </code></pre>
  
  <p>Now, using http the request works fine; xml_request.responseText holds the JSON encoded string.  When I use https, xml_request.responseText is defined, but it's an empty string.</p>
  
  <p>Does anyone why this is and/or how to fix this?</p>
  
  <p>Thanks much,
  Dale</p>