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
<thijskoersel...@gmail.com> wrote:
> On Wed, Nov 3, 2010 at 12:11 PM, Fabio Mascarenhas <mascaren...@acm.org> 
> 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
> Kepler-Project@lists.luaforge.net
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
> http://www.keplerproject.org/
>

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to