Flowdock
class
Importance_1
v2_1_10 - Show latest stable - 0 notes - Superclass: GServer

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.