v3.0.x: minor refactor router
v3.0.x: rename Request._template to Request._resolve