title: Chrome loads a text/html file but shows status "failed" and does not render on screen
body: <p>Still facing a weird issue with Google Chrome. I have a text/html page generated from a php source code. This page loads well and is well displayed on any popular browsers but Chrome. When the source code has just been saved, Chrome loads and render the file the right way. Even if I simply added or removed a space character. Next, if I try to refresh the page, Chrome displays a blank page and shows an error in the Developper Tools panel (see screenshot) indicating a "failed" status. But if I check the HTTP response headers, everything seems to be fine, including the HTTP status: 200 OK.</p>
  
  <pre><code>HTTP/1.1 200 OK
  Date: Mon, 17 Sep 2012 08:37:03 GMT
  Server: Apache/2.2.3 (CentOS)
  X-Powered-By: PHP/5.3.14
  Expires: Mon, 17 Sep 2012 08:52:03 GMT
  Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  Pragma: no-cache
  Connection: close
  Transfer-Encoding: chunked
  Content-Type: text/html; charset=UTF-8
  </code></pre>
  
  <p>Bellow is the HTTP response headers just after saving the source and getting a correct rendering. No change (except time related information)</p>
  
  <pre><code>HTTP/1.1 200 OK
  Date: Mon, 17 Sep 2012 08:56:06 GMT
  Server: Apache/2.2.3 (CentOS)
  X-Powered-By: PHP/5.3.14
  Expires: Mon, 17 Sep 2012 09:11:07 GMT
  Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  Pragma: no-cache
  Connection: close
  Transfer-Encoding: chunked
  Content-Type: text/html; charset=UTF-8
  </code></pre>
  
  <p>I also checked the HTTP request headers, they are the same in both cases:</p>
  
  <p>Working case:</p>
  
  <pre><code>Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
  Accept-Encoding:gzip,deflate,sdch
  Accept-Language:fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4
  Cache-Control:max-age=0
  Connection:keep-alive
  Cookie:PHPSESSID=qn01olb0lkgh3qh7tpmjbdbct1
  Host:(hidden here, but correct, looks like subsubdomain.subdomain.domain.tld)
  User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1
  </code></pre>
  
  <p>Failing case:</p>
  
  <pre><code>Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
  Accept-Encoding:gzip,deflate,sdch
  Accept-Language:fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4
  Cache-Control:max-age=0
  Connection:keep-alive
  Cookie:PHPSESSID=qn01olb0lkgh3qh7tpmjbdbct1
  Host:(also hidden)
  User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1
  </code></pre>
  
  <p>I noticed that even if the page failed, some other resources (javascript, style sheets) are successfully loaded or retrieved from the local cache. I can also access the HTML source code successfully every time, could the page be rendered or not (the HTML code is what it's expected to contain).</p>
  
  <p>I also ran Wireshark in order to see if there would be something wrong while transferring data or something, but everything seems to be OK on this side too.</p>
  
  <p>I read something on Google about content-length that would make Chrome fail if the information provided in the HTTP headers differs from the effective size of the delivered file. It does not seem to me it would be the case here as content-length is not provided.</p>
  
  <p>Any help would be welcome! Thanks!</p>