specs for response handling