Google Docs Viewer occasionally failing to load content in iframe : <p>I'm having an issue with the Google Docs viewer that is causing a nightmare to solve because it only happens intermittently. I'm looking for guidance on how to make the content in the iframe load everytime without issue as it should. </p>

<p>Steps to reproduce
1) This page is a basic HTML page with a h1 tag and an iframe containing a link to a PDF on the same server</p>

<p><a href="http://bit.ly/1mqbuf7" rel="noreferrer">http://bit.ly/1mqbuf7</a></p>

<p>2) When you load the page, the pdf document will load in the iframe 60% of the time. </p>

<p>3) If you hit refresh 10 or so times, at least once it will fail to appear. Google returns a 307 first (Which it also does when it works) and then returns a 204 - no content. When it works, it returns a 200, with the content you see in the viewer.</p>

<p>I'm struggling to understand why it only does this some of the time with no visible errors. This has been tested and failed on Google Chrome v 48.0.2564.103 (PC) and Internet Explorer Edge v25.10586 (PC) with the same results and frequency of failure. </p>

<p>Any guidance would be greatly appreciated. </p>
