On a minor note, "406 Not Acceptable" seems like the most suitable return for a user (accidentally) querying a page which they have explicitly opted out of viewing. "The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request."
204 No Content is a close second, but I would stick to a 4xx code to make it clear this is not a normal return and is specific to the client.
---
The Master said: "It is all in vain! I have never yet seen a man who can perceive his own faults and bring the charge home against himself."
>Analects: Book V, Chaper XXVI
204 No Content is a close second, but I would stick to a 4xx code to make it clear this is not a normal return and is specific to the client.
---
The Master said: "It is all in vain! I have never yet seen a man who can perceive his own faults and bring the charge home against himself."
>Analects: Book V, Chaper XXVI