URL encoding paths earlier so that grabbing the path value reflects exactly what will be sent over the wire