Created
August 4, 2012 15:21
-
-
Save ttscoff/3258331 to your computer and use it in GitHub Desktop.
Just testing the Gist logger for Day One
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The standard CGI environmental variables are available as read-only attributes of a CGI object. The following is a list of these variables: | |
AUTH_TYPE HTTP_HOST REMOTE_IDENT | |
CONTENT_LENGTH HTTP_NEGOTIATE REMOTE_USER | |
CONTENT_TYPE HTTP_PRAGMA REQUEST_METHOD | |
GATEWAY_INTERFACE HTTP_REFERER SCRIPT_NAME | |
HTTP_ACCEPT HTTP_USER_AGENT SERVER_NAME | |
HTTP_ACCEPT_CHARSET PATH_INFO SERVER_PORT | |
HTTP_ACCEPT_ENCODING PATH_TRANSLATED SERVER_PROTOCOL | |
HTTP_ACCEPT_LANGUAGE QUERY_STRING SERVER_SOFTWARE | |
HTTP_CACHE_CONTROL REMOTE_ADDR | |
HTTP_FROM REMOTE_HOST | |
For each of these variables, there is a corresponding attribute with the same name, except all lower case and without a preceding HTTP_. content_length and server_port are integers; the rest are strings. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment