web.vars is a reference to the WSAPI environment, so you are going to find all CGI environment variables and HTTP headers there.
CGI variables: http://www.cgi101.com/book/ch3/text.html HTTP headers (Cache-Control becomes HTTP_CACHE_CONTROL, for example): http://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Requests (under Request) -- Fabio Mascarenhas On Wed, Nov 3, 2010 at 9:29 AM, Thijs Koerselman <[email protected]> wrote: > On Wed, Nov 3, 2010 at 12:11 PM, Fabio Mascarenhas <[email protected]> > wrote: >> Did you try web.vars.SERVER_PORT? >> > > Nope, thanks. Where can i find a reference of web.vars members? Simply > printing it didn't reveal SERVER_PORT and I can't seem to find it in > the docs. > > Thijs > > _______________________________________________ > Kepler-Project mailing list > [email protected] > http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project > http://www.keplerproject.org/ > _______________________________________________ Kepler-Project mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/
