tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Dynamic content with bozohttpd
On Fri, 11 Oct 2013 22:40:34 +0200
Marc Balmer <marc%msys.ch@localhost> wrote:
> There is a Lua binding to gpio(4) in src/lib/lua/gpio.
I know. This brought up the idea.
> I think it could be '3lua'.
So do I.
> > How to get POST data from within a Lua handler?
> I did not try. But reading CONTENT_LENGTH bytes should do it.
If this still works when bozohttpd is running in daemon mode, without
inetd(8).
> > What about PATH_INFO when GETing
> > http://<hostname>/rest/printenv/foo/bar
> That could be added.
Maybe have a look at the APIs of other small CGI libs like cgic (C) and
cgicc (C++) to get some inspiration.
--
\end{Jochen}
\ref{http://www.unixag-kl.fh-kl.de/~jkunz/}
Home |
Main Index |
Thread Index |
Old Index