Skip to content

Instantly share code, notes, and snippets.

@oojikoo-gist
Created September 3, 2015 12:30
Show Gist options
  • Save oojikoo-gist/e664ce0030587cb56431 to your computer and use it in GitHub Desktop.
Save oojikoo-gist/e664ce0030587cb56431 to your computer and use it in GitHub Desktop.
rails: request.env
#Rails Request.env Variables
SERVER_NAME
PATH_INFO
REMOTE_HOST
HTTP_ACCEPT_ENCODING
HTTP_USER_AGENT
SERVER_PROTOCOL
HTTP_CACHE_CONTROL
HTTP_ACCEPT_LANGUAGE
HTTP_HOST
REMOTE_ADDR
SERVER_SOFTWARE
HTTP_KEEP_ALIVE
HTTP_REFERER
HTTP_COOKIE
HTTP_ACCEPT_CHARSET
REQUEST_URI
SERVER_PORT
GATEWAY_INTERFACE
QUERY_STRING
REMOTE_USER
HTTP_ACCEPT
REQUEST_METHOD
HTTP_CONNECTION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment