rest.location.pathname