Parent class for success (2xx) HTTP
response classes.
A success response indicates the action requested by the client was received, understood, and accepted.
References:
Parent class for client error (4xx) HTTP
response classes.
A client error response indicates that the client may have caused an error.
References:
Response class for Created
responses (status code 201).
The Created
response indicates that the server has received and has fulfilled a request to create a new resource. See 201 Created.
Response class for Reset Content
responses (status code 205).
The Reset Content
response indicates that the server successfully processed the request, asks that the client reset its document view, and is not returning any content. See 205 Reset Content.
Response class for Multi-Status (WebDAV)
responses (status code 207).
The Multi-Status (WebDAV)
response indicates that the server has received the request, and that the message body can contain a number of separate response codes. See 207 Multi-Status (WebDAV).
Response class for Found
responses (status code 302).
The Found
response indicates that the client should look at (browse to) another URL. See 302 Found.
Response class for See Other
responses (status code 303).
The response to the request can be found under another URI
using the GET method. See 303 See Other.
Response class for Unauthorized
responses (status code 401).
Authentication is required, but either was not provided or failed. See 401 Unauthorized.
Response class for Forbidden
responses (status code 403).
The request contained valid data and was understood by the server, but the server is refusing action. See 403 Forbidden.
Response class for Precondition Failed
responses (status code 412).
The server does not meet one of the preconditions specified in the request headers. See 412 Precondition Failed.
Response class for Payload Too Large
responses (status code 413).
The request is larger than the server is willing or able to process. See 413 Payload Too Large.
Response class for URI Too Long
responses (status code 414).
The URI
provided was too long for the server to process. See 414 URI Too Long.
Response class for Unsupported Media Type
responses (status code 415).
The request entity has a media type which the server or resource does not support. See 415 Unsupported Media Type.
Response class for Service Unavailable
responses (status code 503).
The server cannot handle the request (because it is overloaded or down for maintenance). See 503 Service Unavailable.
Response class for HTTP Version Not Supported
responses (status code 505).
The server does not support the HTTP
version used in the request. See 505 HTTP Version Not Supported.
ReadTimeout
, a subclass of Timeout::Error
, is raised if a chunk of the response cannot be read within the read_timeout.
Simple option list providing mapping from short and/or long option string to OptionParser::Switch
and mapping from acceptable argument to matching pattern and converter pair. Also provides summary feature.
Base class of exceptions from OptionParser
.
A table of LALR states.