module Net - Documentation for Ruby 3.3

# module Net

### Constants

HTTPGatewayTimeOut

  Response class for `Gateway Timeout` responses (status code 504).

  The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.

  This class also includes (indirectly) module `Net::HTTPHeader`, which gives access to its methods for getting headers.

  References:

  - Mozilla.

  - RFC 9110.

  - Wikipedia.

HTTPMovedTemporarily

  Response class for `Found` responses (status code 302).

  The `Found` response indicates that the client should look at (browse to) another URL.

  This class also includes (indirectly) module `Net::HTTPHeader`, which gives access to its methods for getting headers.

  References:

  - Mozilla.

  - RFC 9110.

  - Wikipedia.

HTTPMultipleChoice

  Response class for `Multiple Choices` responses (status code 300).

  The `Multiple Choices` response indicates that the server offers multiple options for the resource from which the client may choose.

  This class also includes (indirectly) module `Net::HTTPHeader`, which gives access to its methods for getting headers.

  References:

  - Mozilla.

  - RFC 9110.

  - Wikipedia.

HTTPRequestEntityTooLarge

  Response class for `Payload Too Large` responses (status code 413).

  The request is larger than the server is willing or able to process.

  This class also includes (indirectly) module `Net::HTTPHeader`, which gives access to its methods for getting headers.

  References:

  - Mozilla.

  - RFC 9110.

  - Wikipedia.

HTTPRequestTimeOut

  Response class for `Request Timeout` responses (status code 408).

  The server timed out waiting for the request.

  This class also includes (indirectly) module `Net::HTTPHeader`, which gives access to its methods for getting headers.

  References:

  - Mozilla.

  - RFC 9110.

  - Wikipedia.

HTTPRequestURITooLarge

  Response class for `URI Too Long` responses (status code 414).

  The `URI` provided was too long for the server to process.

  This class also includes (indirectly) module `Net::HTTPHeader`, which gives access to its methods for getting headers.

  References:

  - Mozilla.

  - RFC 9110.

  - Wikipedia.

HTTPRequestURITooLong

  Response class for `URI Too Long` responses (status code 414).

  The `URI` provided was too long for the server to process.

  This class also includes (indirectly) module `Net::HTTPHeader`, which gives access to its methods for getting headers.

  References:

  - Mozilla.

  - RFC 9110.

  - Wikipedia.

HTTPRequestedRangeNotSatisfiable

  Response class for `Range Not Satisfiable` responses (status code 416).

  The request entity has a media type which the server or resource does not support.

  This class also includes (indirectly) module `Net::HTTPHeader`, which gives access to its methods for getting headers.

  References:

  - Mozilla.

  - RFC 9110.

  - Wikipedia.