diff options
author | Evan Weaver <eweaver@twitter.com> | 2009-01-31 21:40:40 -0800 |
---|---|---|
committer | Evan Weaver <eweaver@twitter.com> | 2009-01-31 21:40:40 -0800 |
commit | d426c68c11d5733dd4462caafe92b28f436f30e7 (patch) | |
tree | 659c33e6abd2cebe4bd544996d36e9c58f83b0e4 /lib/mongrel/const.rb | |
parent | cf4717de742266b4e62ad8bf075c6de974a73267 (diff) | |
download | unicorn-d426c68c11d5733dd4462caafe92b28f436f30e7.tar.gz |
Diffstat (limited to 'lib/mongrel/const.rb')
-rw-r--r-- | lib/mongrel/const.rb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/mongrel/const.rb b/lib/mongrel/const.rb index a9b100e..994a2bf 100644 --- a/lib/mongrel/const.rb +++ b/lib/mongrel/const.rb @@ -53,10 +53,13 @@ module Mongrel # REMOTE_USER, or REMOTE_HOST parameters since those are either a security problem or # too taxing on performance. module Const - DATE = "Date".freeze + DATE="Date".freeze - # This is the part of the path after the SCRIPT_NAME. URIClassifier will determine this. + # This is the part of the path after the SCRIPT_NAME. PATH_INFO="PATH_INFO".freeze + + # Request body + HTTP_BODY="HTTP_BODY".freeze # This is the initial part that your handler is identified as by URIClassifier. SCRIPT_NAME="SCRIPT_NAME".freeze @@ -64,8 +67,8 @@ module Mongrel # The original URI requested by the client. Passed to URIClassifier to build PATH_INFO and SCRIPT_NAME. REQUEST_URI='REQUEST_URI'.freeze REQUEST_PATH='REQUEST_PATH'.freeze - - MONGREL_VERSION="1.2.0".freeze + + MONGREL_VERSION="2.0".freeze MONGREL_TMP_BASE="mongrel".freeze |