I would use: 406 is invalid
Note. This is technically misleading because there is not officially a problem with the Accept Accept header, you are just trying to block a specific browser.
Whatever you do, go with the 4xx code. 5xx is for server problems, and 4xx is for client problems β in this case, supported browsers are not used.
Ray
source share