lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


	Hi Alex,

On Mon, 10 Jan 2005, Alex Sandro Queiroz e Silva wrote:
>      I think the documentation of CGILua is lagging behind, then.
	I will check that.  Sorry.

> >	If I understand correctly, the problem is not with preprocess
> >function but with the htmlheader function that does not check if the
> >Content-type header was already sent, right?
>
>      The preprocess() function always calls htmlheader() before
> includehtml(). At this point no header was sent (because the page was
> never processed) and the htnlheader() function would always send the
> Content-type header.
	Yes.  What is the problem with that?  Could you send us
an example?

		Tomas