Module Mongrel
In: lib/mongrel.rb
lib/mongrel/camping.rb
lib/mongrel/cgi.rb
lib/mongrel/command.rb
lib/mongrel/handlers.rb
lib/mongrel/rails.rb
ext/http11/http11.c

Mongrel Web Server - A Mostly Ruby Webserver and Library

Copyright (C) 2005 Zed A. Shaw zedshaw AT zedshaw dot com

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Classes and Modules

Module Mongrel::Camping
Module Mongrel::Command
Module Mongrel::Const
Module Mongrel::HttpHandlerPlugin
Module Mongrel::Rails
Class Mongrel::CGIWrapper
Class Mongrel::Configurator
Class Mongrel::DeflateFilter
Class Mongrel::DirHandler
Class Mongrel::Error404Handler
Class Mongrel::HeaderOut
Class Mongrel::HttpHandler
Class Mongrel::HttpParser
Class Mongrel::HttpParserError
Class Mongrel::HttpRequest
Class Mongrel::HttpResponse
Class Mongrel::HttpServer
Class Mongrel::RedirectHandler
Class Mongrel::StatisticsFilter
Class Mongrel::StatusHandler
Class Mongrel::StopServer
Class Mongrel::URIClassifier

Constants

HTTP_STATUS_CODES = { 100 => 'Continue', 101 => 'Switching Protocols', 200 => 'OK', 201 => 'Created', 202 => 'Accepted', 203 => 'Non-Authoritative Information', 204 => 'No Content', 205 => 'Reset Content', 206 => 'Partial Content', 300 => 'Multiple Choices', 301 => 'Moved Permanently', 302 => 'Moved Temporarily', 303 => 'See Other', 304 => 'Not Modified', 305 => 'Use Proxy', 400 => 'Bad Request', 401 => 'Unauthorized', 402 => 'Payment Required', 403 => 'Forbidden', 404 => 'Not Found', 405 => 'Method Not Allowed', 406 => 'Not Acceptable', 407 => 'Proxy Authentication Required', 408 => 'Request Time-out', 409 => 'Conflict', 410 => 'Gone', 411 => 'Length Required', 412 => 'Precondition Failed', 413 => 'Request Entity Too Large', 414 => 'Request-URI Too Large', 415 => 'Unsupported Media Type', 500 => 'Internal Server Error', 501 => 'Not Implemented', 502 => 'Bad Gateway', 503 => 'Service Unavailable', 504 => 'Gateway Time-out', 505 => 'HTTP Version not supported'   Every standard HTTP code mapped to the appropriate message. These are used so frequently that they are placed directly in Mongrel for easy access rather than Mongrel::Const.

[Validate]