For security purposes, I fake this in one place in my code for certain requests:
http_response_code(404); die();
This will return the correct