retrieve the path from a flask request,request.url