HTTP response class.
This class wraps together the response header and the response body (the entity requested).
It mixes in the HTTPHeader module, which provides access to response header values both via hash-like methods and via individual readers.
Note that each possible HTTP response code defines its own HTTPResponse
subclass. These are listed below.
All classes are defined under the Net
module. Indentation indicates inheritance. For a list of the classes see Net::HTTP
.
306 Switch Proxy - no longer unused
418 I’m a teapot - RFC 2324; a joke RFC 420 Enhance Your Calm - Twitter
Non-authentication POP3
protocol error (reply code “-ERR”, except authentication).
OpenTimeout
, a subclass of Timeout::Error
, is raised if a connection cannot be created within the open_timeout.
The writer adapter class
Internal use. An implementation of prime table by trial division method.
A parent has children, and has methods for accessing them. The Parent
class is never encountered except as the superclass for some other object.
An SimpleRenewer
allows a TupleSpace
to check if a TupleEntry
is still alive.
RSS
, being an XML-based format, has namespace support. If two namespaces are declared with the same name, an OverlappedPrefixError
will be raised.