Re: [sqlite] althttpd.c CGI Script Requires a Throw Away First Line of Output?

2019-02-06 Thread Richard Hipp
On 2/5/19, Carl Chave wrote: > I'm experimenting with the althttpd.c web server. As a simple first test I > created a static html file and a lua script file. The static file displays > as expected in firefox. The lua file, which simply reads in the same > static html file and writes it back to

[sqlite] althttpd.c CGI Script Requires a Throw Away First Line of Output?

2019-02-06 Thread Carl Chave
I'm experimenting with the althttpd.c web server. As a simple first test I created a static html file and a lua script file. The static file displays as expected in firefox. The lua file, which simply reads in the same static html file and writes it back to stdout ends up being truncated and dis