<div dir="auto">Are you setting your data as a session variable then passing it?</div><div class="gmail_extra"><br><div class="gmail_quote">On Mar 15, 2018 6:58 PM, "Wil Phan" <<a href="mailto:wil@pixar.com">wil@pixar.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everyone,<div><br></div><div>I'm trying to run Flask with Apache CGI on Windows but it won't load all the HTML content.  It misses the last few-to-several lines.  Apache CGI alone (no Flask involved) has no problems.  Testing Flask using its internal web server and the same Python script works fine too.  </div><div><br></div><div>The HTML output is pretty small, just about one screenful.  When I try to output just a tiny bit of HTML it still gets cut off.  The CSS is cut off too.  I tried stripping almost all the HTML and code out of the template to a bare minimum but the results were the same.  Sending HTML directly from the Python script (without using the template) has the same results.</div><div><br></div><div>I'm running Windows 10, Apache 2.4.29, Python 2.7.13, Flask 0.12.2.  There are no Apache errors.  The Flask web server has no errors either when I'm using that to test, but that's expected since all the HTML is sent to the browser in this case.  I'm attaching a stripped down version of the scripts, cgi, template, and css files (which I tested to have the same results with HTML getting cut off).</div><div><br></div><div>Does anyone have any ideas on this?  </div><div><br></div><div>Thanks in advanced for taking a look,</div><div>wil</div><div><br></div><div><br></div><div>PS.  I'm new to Flask so my apologies if there's a better place to post this.</div><div><br></div><div><br></div><div><br></div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/flask</a><br>
<br></blockquote></div></div>