ensured path is encoded before doing http request