class Net::HTTPMovedPermanently - Documentation for Ruby 4.0
Description: class Net::HTTPMovedPermanently: tt> responses (status code 301). tt> response indicates that links or records returning this response should be updated to use the given URL.
Keywords: ruby,class,Net::HTTPMovedPermanently

🔍

No recent searches

# class Net::HTTPMovedPermanently

Response class for `Moved Permanently` responses (status code 301).

The `Moved Permanently` response indicates that links or records returning this response should be updated to use the given URL.

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

References:

- Mozilla.

- RFC 9110.

- Wikipedia.