diff options
Diffstat (limited to 'lib/mongrel/const.rb')
-rw-r--r-- | lib/mongrel/const.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/mongrel/const.rb b/lib/mongrel/const.rb index e01df15..a9b100e 100644 --- a/lib/mongrel/const.rb +++ b/lib/mongrel/const.rb @@ -65,13 +65,10 @@ module Mongrel REQUEST_URI='REQUEST_URI'.freeze REQUEST_PATH='REQUEST_PATH'.freeze - MONGREL_VERSION="1.2".freeze + MONGREL_VERSION="1.2.0".freeze MONGREL_TMP_BASE="mongrel".freeze - # A standard 400 response for a request which generates a http parse exception - ERROR_400_RESPONSE="HTTP/1.1 400 Bad Request\r\nConnection: close\r\nServer: Mongrel #{MONGREL_VERSION}\r\n\r\nBAD REQUEST".freeze - # The standard empty 404 response for bad requests. Use Error4040Handler for custom stuff. ERROR_404_RESPONSE="HTTP/1.1 404 Not Found\r\nConnection: close\r\nServer: Mongrel #{MONGREL_VERSION}\r\n\r\nNOT FOUND".freeze @@ -110,5 +107,4 @@ module Mongrel REDIRECT = "HTTP/1.1 302 Found\r\nLocation: %s\r\nConnection: close\r\n\r\n".freeze HOST = "HOST".freeze end - -end +end
\ No newline at end of file |