I would test for an empty status code as well; if it's empty, we want to set it. The problem, however, is that the status code is never empty by default; it defaults to 200. Perhaps we could test for a "200" status code, and reset in that case? or allow injecting a list of "allowed" exception status codes and/or a default to use in exceptions when the current code is not in that list?