A PUT request should have idempotency.
PUT 请求应该具备幂等性。
Idempotency is crucial in distributed systems because retries can happen when networks are unreliable, and a non-idempotent operation may create duplicate charges or orders.
在分布式系统中,幂等性非常关键,因为网络不可靠时会发生重试;若操作不幂等,可能导致重复扣款或重复下单。