Module: Puma
- Defined in:
- lib/puma/cli.rb,
lib/puma/const.rb,
lib/puma/client.rb,
lib/puma/events.rb,
lib/puma/server.rb,
lib/puma/null_io.rb,
lib/puma/reactor.rb,
lib/puma/app/status.rb,
lib/puma/control_cli.rb,
lib/puma/thread_pool.rb,
lib/puma/configuration.rb,
lib/puma/jruby_restart.rb,
ext/puma_http11/puma_http11.c
Defined Under Namespace
Modules: App, Const, JRubyRestart Classes: CLI, Client, Configuration, ControlCLI, Events, HttpParser, HttpParserError, NullIO, Reactor, Server, ThreadPool
Constant Summary collapse
- HTTP_STATUS_CODES =
Every standard HTTP code mapped to the appropriate message. These are used so frequently that they are placed directly in Puma for easy access rather than Puma::Const itself.
Rack::Utils::HTTP_STATUS_CODES
- STATUS_WITH_NO_ENTITY_BODY =
For some HTTP status codes the client only expects headers.
Hash[Rack::Utils::STATUS_WITH_NO_ENTITY_BODY.map { |s| [s, true]