lib/goliath/constants.rb in goliath-0.9.0 vs lib/goliath/constants.rb in goliath-0.9.1

- old
+ new

@@ -8,11 +8,10 @@ SERVER_SOFTWARE = 'SERVER_SOFTWARE' SERVER = 'Goliath' HTTP_PREFIX = 'HTTP_' LOCALHOST = 'localhost' - LOGGER = 'logger' STATUS = 'status' CONFIG = 'config' OPTIONS = 'options' RACK_INPUT = 'rack.input' @@ -20,10 +19,11 @@ RACK_ERRORS = 'rack.errors' RACK_MULTITHREAD = 'rack.multithread' RACK_MULTIPROCESS = 'rack.multiprocess' RACK_RUN_ONCE = 'rack.run_once' RACK_VERSION_NUM = [1, 0] + RACK_LOGGER = 'rack.logger' ASYNC_CALLBACK = 'async.callback' ASYNC_HEADERS = 'async.headers' ASYNC_BODY = 'async.body' ASYNC_CLOSE = 'async.close' @@ -35,9 +35,10 @@ SERVER_NAME = 'SERVER_NAME' SERVER_PORT = 'SERVER_PORT' SCRIPT_NAME = 'SCRIPT_NAME' REMOTE_ADDR = 'REMOTE_ADDR' CONTENT_LENGTH = 'CONTENT_LENGTH' + CONTENT_TYPE = 'CONTENT_TYPE' REQUEST_METHOD = 'REQUEST_METHOD' REQUEST_URI = 'REQUEST_URI' QUERY_STRING = 'QUERY_STRING' HTTP_VERSION = 'HTTP_VERSION' REQUEST_PATH = 'REQUEST_PATH'