@SetHTTPHeader or other method to set HTTP Status of Page?

Hi, just want to know if it’s possible to rewrite the HTTP Status of a page served by Domino. I noticed the status is 200 under normal conditions. When there are problems, for example an error with dblookup it goes to Error 500. I would like be to able to set them to 404 if possible ?