routing mode handling : none, default or xhr only.