Module CGIKit::Utilities
In: lib/cgikit/utilities.rb

Utilitis is a module wihch collects utility methods based on cgi.rb.

Methods

Constants

CR = "\015"
LF = "\012"
EOL = CR + LF
RFC822_DAYS = %w[ Sun Mon Tue Wed Thu Fri Sat ]
RFC822_MONTHS = %w[ Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec ]
MEM_CONTENT_LENGTH = 10240

Public Instance methods

Formats Time object in RFC1123. For example, "Sat, 1 Jan 2000 00:00:00 GMT".

Escapes HTML control characters.

Returns an encoded string for URL.

query_string_from_head( headers )

Unescapes HTML control characters.

Returns a string decoded from URL.

[Validate]