Returns a list of encodings in Content-Encoding field as an array of strings.
The encodings are downcased for canonicalization.
A node-set is converted to a string by returning the concatenation of the string-value of each of the children of the node in the node-set that is first in document order. If the node-set is empty, an empty string is returned.
Kouhei fixed this
Kouhei fixed this too
UNTESTED
UNTESTED
Adds a maker to the set of supported makers
Temporarily turn off warnings. Intended for tests only.
Temporarily turn off warnings. Intended for tests only.
Signs in with the RubyGems API at sign_in_host
and sets the rubygems API key.
Wraps text
to wrap
characters and optionally indents by indent
characters
This code is based directly on the Text
gem implementation Returns a value representing the “cost” of transforming str1 into str2
Displays a warning statement
to the warning output location. Asks a question
if given.
Normalizes a request path. Raises an exception if the path cannot be normalized.
Normalizes a request path. Raises an exception if the path cannot be normalized.
Returns the mime type of filename
from the list in mime_tab
. If no mime type was found application/octet-stream is returned.