More tolerant response handling in request module