The WSGI nature of the framework

In this page you can see all the WSGI variables your request object has, the ones in capital letters are required by the spec, then a sorted by component list of variables provided by the Components, and at last the "wsgi." namespace with very useful information about your WSGI Server

The keys in the environment are:

DOCUMENT_ROOT /etc/apache2/htdocs
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5
HTTP_CACHE_CONTROL no-cache
HTTP_CONNECTION close
HTTP_HOST cogbin.lucasmanual.com
HTTP_PRAGMA no-cache
HTTP_USER_AGENT CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
HTTP_X_CC_ID ccc04-01
PATH_INFO /environ
PATH_TRANSLATED /usr/local/turbogears/cogbin/apache/cogbin.wsgi/environ
QUERY_STRING
REMOTE_ADDR 38.107.179.239
REMOTE_PORT 52676
REQUEST_METHOD GET
REQUEST_URI /environ
SCRIPT_FILENAME /usr/local/turbogears/cogbin/apache/cogbin.wsgi
SCRIPT_NAME
SERVER_ADDR 192.168.1.98
SERVER_ADMIN [no address given]
SERVER_NAME cogbin.lucasmanual.com
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE <address>Apache/2.2.16 (Debian) Server at cogbin.lucasmanual.com Port 80</address>
SERVER_SOFTWARE Apache/2.2.16 (Debian)
beaker.cache <beaker.cache.CacheManager object at 0x7f9412fba310>
beaker.get_session <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7f9412fba290>>
beaker.session {'_accessed_time': 1329942955.039216, '_creation_time': 1329942955.039216}
mod_wsgi.application_group cogbin.lucasmanual.com|
mod_wsgi.callable_object application
mod_wsgi.handler_script
mod_wsgi.input_chunked 0
mod_wsgi.listener_host
mod_wsgi.listener_port 80
mod_wsgi.process_group cogbin
mod_wsgi.request_handler wsgi-script
mod_wsgi.script_reloading 1
mod_wsgi.version (3, 3)
paste.registry <paste.registry.Registry object at 0x7f94139b0d10>
paste.throw_errors True
pylons.action_method <bound method RootController.routes_placeholder of <cogbin.controllers.root.RootController object at 0x7f9413cdcd50>>
pylons.controller <cogbin.controllers.root.RootController object at 0x7f9413cdcd50>
pylons.environ_config {'session': 'beaker.session', 'cache': 'beaker.cache'}
pylons.pylons <pylons.util.PylonsContext object at 0x7f9413cdce10>
pylons.routes_dict {'url': u'/environ', 'action': u'routes_placeholder', 'controller': u'root'}
repoze.tm.active True
routes.route <routes.route.Route object at 0x7f94132f0b90>
routes.url <routes.util.URLGenerator object at 0x7f9413cdc2d0>
toscawidgets.framework <tw.mods.base.HostFramework object at 0x7f9412fba350>
toscawidgets.javascript.require_once False
toscawidgets.prefix /toscawidgets
webob._parsed_query_vars (GET([]), '')
webob.adhoc_attrs {'start_response': <function repl_start_response at 0x7f9413830758>, 'controller_state': <tg.controllers.dispatcher.DispatchState object at 0x7f9413cdcf90>, 'response_type': None, 'language': 'en-us', 'response_ext': None}
wsgi.errors <mod_wsgi.Log object at 0x7f9411bdd270>
wsgi.file_wrapper <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f9412fd3cd8>
wsgi.input <mod_wsgi.Input object at 0x7f9411bdd070>
wsgi.multiprocess True
wsgi.multithread True
wsgi.run_once False
wsgi.url_scheme http
wsgi.version (1, 1)
wsgiorg.routing_args (<routes.util.URLGenerator object at 0x7f9413cdc2d0>, {'url': u'/environ', 'action': u'routes_placeholder', 'controller': u'root'})