update to the response class to use the addheader funcation instead of creating something new