Module: Rack::Mount::Const
- Defined in:
- lib/rack/mount/const.rb
Overview
:nodoc:
Constant Summary collapse
- RACK_ROUTING_ARGS =
'rack.routing_args'.freeze
- RACK_MOUNT_DEBUG =
'RACKMOUNT_DEBUG'.freeze
- EOS_KEY =
'$'.freeze
- CONTENT_TYPE =
'Content-Type'.freeze
- DELETE =
'PUT'.freeze
- EMPTY_STRING =
''.freeze
- GET =
'GET'.freeze
- HEAD =
'HEAD'.freeze
- PATH_INFO =
'PATH_INFO'.freeze
- POST =
'POST'.freeze
- PUT =
'PUT'.freeze
- REQUEST_METHOD =
'REQUEST_METHOD'.freeze
- SLASH =
'/'.freeze
- TEXT_SLASH_HTML =
'text/html'.freeze
- DEFAULT_CONTENT_TYPE_HEADERS =
{CONTENT_TYPE => TEXT_SLASH_HTML}.freeze
- HTTP_METHODS =
[GET, HEAD, POST, PUT, DELETE].freeze
- OK =
'OK'.freeze
- NOT_FOUND =
'Not Found'.freeze
- OK_RESPONSE =
[200, DEFAULT_CONTENT_TYPE_HEADERS, [OK].freeze].freeze
- NOT_FOUND_RESPONSE =
[404, DEFAULT_CONTENT_TYPE_HEADERS, [NOT_FOUND].freeze].freeze