Follow

此说法易引起误解。幂等是指多次请求与一次请求的结果相同,即满足 f ∘ f=f的变换。幂等在此之所以重要,是因为设计者不用担心用户的重复提交请求带来的副作用。故重点不在每次都相同,而在多次与一次相同。如delete多次与一次结果一样,但不同的是:第一次删除某资源,第二次以后无法再删除它了。 twitter.com/ruanyf/status/1198 twitter.com/xyz98/status/11988

t.me/private_channel_c14370a/3

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.