<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hmm the difference between crank start engines and electric start
engines<br>
</p>
<div class="moz-cite-prefix">On 10/2/18 4:33 PM, Jim Kinney via Ale
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5ecc02d08e4eaaba15d028e5125bfe27effd5576.camel@gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>Safari needs longer to recognize "Oh, yeah. That's a new web
page I need to render. Glad I got this blank line of time so I
can start my render engine."</div>
<div><br>
</div>
<div>On Tue, 2018-10-02 at 16:05 -0400, Charles Shapiro via Ale
wrote:</div>
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px
#729fcf solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div>Nemmine, solved it. You need two linefeeds after the
"Content-Type:" line:<br>
<br>
</div>
print("Content-Type: text/html\n\n")<br>
<br>
</div>
Then it works on all browsers. Ugh.<br>
<br>
</div>
-- CHS<br>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Tue, Oct 2, 2018 at 3:58 PM Charles Shapiro
<<a href="mailto:hooterpincher@gmail.com"
moz-do-not-send="true">hooterpincher@gmail.com</a>>
wrote:<br>
</div>
<blockquote type="cite" style="margin:0 0 0 .8ex;
border-left:2px #729fcf solid;padding-left:1ex">
<div dir="ltr">I have a python 2.7 CGI script using the cgi
module running inside lighttpd on a raspberry pi. It
works fine in firefox, chrome, and even the browser that
comes with Windows 10 (edge?). In Safari and konquerer,
the CGI runs fine but the browsers won't render the HTML
it prints. Instead, these two browsers print the output
of my script as if it were text. If I run cgi.test(),
they render the HTML correctly. If I purposely mung the
python script ( I have cgitb enabled), the errors render
correctly. The correctly rendered HTML and the HTML
rendered as text both appear to lack headers as shown by
view source in all browsers. If I put my cgi-bin output
into a file named "foo.html", it renders correctly in all
browsers ( I presume they are deducing that it is HTML by
the file extension). If I put a "Content-Type:
text/html" line into my cgi-bin output, then firefox and
others offer to download the output of my script rather
than displaying it ( it has no effect on the behavior of
Safari). <br>
<br>
The web is silent on this matter. Has anyone here
experienced this?<br>
</div>
</blockquote>
</div>
<pre>_______________________________________________</pre>
<pre>Ale mailing list</pre>
<pre><a href="mailto:Ale@ale.org" moz-do-not-send="true">Ale@ale.org</a></pre>
<pre><a href="https://mail.ale.org/mailman/listinfo/ale" moz-do-not-send="true">https://mail.ale.org/mailman/listinfo/ale</a></pre>
<pre>See JOBS, ANNOUNCE and SCHOOLS lists at</pre>
<pre><a href="http://mail.ale.org/mailman/listinfo" moz-do-not-send="true">http://mail.ale.org/mailman/listinfo</a></pre>
<pre>
</pre>
</blockquote>
<div><span>
<pre><pre>--
</pre>James P. Kinney III
Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
<a class="moz-txt-link-freetext" href="http://heretothereideas.blogspot.com/">http://heretothereideas.blogspot.com/</a>
</pre>
</span></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Ale mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ale@ale.org">Ale@ale.org</a>
<a class="moz-txt-link-freetext" href="https://mail.ale.org/mailman/listinfo/ale">https://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Sent to you and NSA, CIA, FBI, SS, DHS and GOD only knows who the hell else...</pre>
</body>
</html>