created an http response class to override headers exception