Sometimes when nodes are unpublished, they are not meant to be taken live again.
Under those circumstances, I would like to return a 410 Gone
status, instead of the default 403 Forbidden
.
Implementing the 410 itself is a 1 line patch to Page manager, but I soon realize that there is no easy way to get the response to the client, as the router system itself checks the node status, and denies access.
How can I force the menu router to process my request for an unpublished node as usual?