Bingo, that did it.  Thank you!<br><br><div class="gmail_quote">On Tue, Nov 11, 2014, 21:33 Larry Leszczynski <<a href="mailto:larryl@emailplus.org">larryl@emailplus.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Robert -<br>
<br>
The HTTP spec says that lines should end with CR LF, and that you need a<br>
blank line after the last header and before the body. So your first<br>
example with two carriage returns is correct (except you should probably<br>
use "\r\n\r\n" instead of "\n\n").  There must be something else going<br>
on that is causing trouble with the style sheet info - can you post a<br>
more complete example?<br>
<br>
Larry<br>
<br>
On Tue, Nov 11, 2014, at 08:34 PM, Robert L. Harris wrote:<br>
>   I have a simple perl script which is supposed to run as a CGI to create<br>
> some html output.  The start of the output looks like :<br>
><br>
> Content-Type: text/html; charset=ISO-8859-1<br>
><br>
> <HTML><HEAD><br>
> .<br>
> .<br>
> .<br>
><br>
> I use 2 print statements.<br>
><br>
>   print "Content-Type: text/html; charset=ISO-8859-1\n\n";<br>
>   print "<HTML><HEAD>\n";<br>
><br>
> What I've noticed is that if I don't put the two carriage returns I get a<br>
> 500 error.  If I put the two carriage returns I get output but it's not<br>
> processing the stylesheet information which follows.  Anyone have any<br>
> ideas<br>
> or a POST example perl script which uses stylesheets I can pick apart?<br>
><br>
> Robert<br>
> ______________________________<u></u>_________________<br>
> Denver-pm mailing list<br>
> <a href="mailto:Denver-pm@pm.org" target="_blank">Denver-pm@pm.org</a><br>
> <a href="http://mail.pm.org/mailman/listinfo/denver-pm" target="_blank">http://mail.pm.org/mailman/<u></u>listinfo/denver-pm</a><br>
______________________________<u></u>_________________<br>
Denver-pm mailing list<br>
<a href="mailto:Denver-pm@pm.org" target="_blank">Denver-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/denver-pm" target="_blank">http://mail.pm.org/mailman/<u></u>listinfo/denver-pm</a><br>
</blockquote></div>