os.environ

import os
print type(os.environ)
# <type 'instance'>
print os.environ
#{'HTTP_COOKIE': 'sessionid=********************************',
# 'SERVER_SOFTWARE': 'Development/1.0',
# 'SCRIPT_NAME': '',
# 'REQUEST_METHOD': 'GET',
# 'HTTP_KEEP_ALIVE': '300',
# 'SERVER_PROTOCOL': 'HTTP/1.0',
# 'QUERY_STRING': '',
# 'CONTENT_LENGTH': '',
# 'HTTP_ACCEPT_CHARSET': 'Shift_JIS,utf-8;q=0.7,*;q=0.7',
# 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2',
# 'HTTP_CONNECTION': 'keep-alive',
# 'SERVER_NAME': 'localhost',
# 'REMOTE_ADDR': '127.0.0.1',
# 'PATH_TRANSLATED': u'C:\\xxxxxxxx\\common/appenginepatch/main.py',
# 'SERVER_PORT': '8000',
# 'AUTH_DOMAIN': 'gmail.com',
# 'CURRENT_VERSION_ID': '1.1',
# 'HTTP_HOST': 'localhost:8000',
# 'USER_ID': '',
# 'HTTP_CACHE_CONTROL': 'max-age=0',
# 'USER_EMAIL': '',
# 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
# 'APPLICATION_ID': 'xxxxxxxx',
# 'GATEWAY_INTERFACE': 'CGI/1.1',
# 'HTTP_ACCEPT_LANGUAGE': 'ja,en-us;q=0.7,en;q=0.3',
# 'DJANGO_SETTINGS_MODULE': 'settings',
# 'CONTENT_TYPE': 'application/x-www-form-urlencoded',
# 'TZ': 'UTC',
# 'PATH_INFO': '/xxxxx/'
#}