Web Oriented Object Framework

User Guide (Version 0.5b4)

User Guide (Version 0.5b4)

The env object

A env object is instantiated for each request and contains the environment passed by the Web server for the request. The actual values present depend on the Web server but usually include the standard environment values included in the CGI specification.

Most environment values that are derived from the request, such as QUERY_STRING or the HTTP headers, such as HTTP_ACCEPT_LANGUAGE are retrievable through other Woof! objects such as params or request. Applications should generally use those objects in preference as they hide differences between web servers and also provide the data in simpler format.

The contents of env can be accessed using the standard Map interface.