Update the header sent by the response object