Fork me on GitHub

If an HTTP Accept header can't be satisfied, return a 406. If an Accept-Language header can't be satisfied, what's the proper response code?

Answer

You should return a 406. RFC 2616 10.4.7 says "accept headers" plural. This suggests every Accept-* header that cannot be satisfied, should return a 406 response.

See also