fix get http resource path bug.