Add a status code to the response