normalize request response handling