class
Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Superclass: GServer

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

Implements a simple HTTP-server by using John W. Small’s (jsmall@laser.net) ruby-generic-server: GServer.

Constants

StatusCodeMapping = { 200 => "OK", 400 => "Bad Request", 403 => "Forbidden", 405 => "Method Not Allowed", 411 => "Length Required", 500 => "Internal Server Error" }

DEFAULT_HEADER = { "Server" => SERVER_NAME }

SERVER_NAME = "HttpServer (Ruby #{RUBY_VERSION})"

HTTP_PROTO = "HTTP/1.0"

CRLF = "\r\n"

Attributes

Show files where this class is defined (1 file)
Register or log in to add new notes.