class Net::HTTPNotAcceptable

Parent:
Net::HTTPClientError

Response class for Not Acceptable responses (status code 406).

The requested resource is capable of generating only content that not acceptable according to the Accept headers sent in the request.

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

References:

Ruby Core © 1993–2024 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.