Module

StatusCodes

There's no documentation for this item.

Constants
STATUS_CODES Defines the standard HTTP status codes, by integer, with their corresponding default message texts. Source: www.iana.org/assignments/http-status-codes
SYMBOL_TO_STATUS_CODE Provides a symbol-to-fixnum lookup for converting a symbol (like :created or :not_implemented) into its corresponding HTTP status code (like 200 or 501).
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.