Raised when the provided IP address is an invalid address.
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
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.