Http Code

406

Not Acceptable

The server understands the request but the content encoding for the particular resource differs from what the client accepts, as specified in the `Accept` header in the request, and hence due to this difference, the server responds with a 406 status code.

Use Case

A client tries to make a get request for some content, specifying that it accepts g compressed data, but the server can only respond with brotli compressed data. Hence, the server responds with a 406 response.