I don't think that word means what you think it means.
Not unless you think having sex with goats once is fine but having sex with goats multiple times is bad.
You probably meant "GET requests should be side effect free".
I don't think that word means what you think it means.
Not unless you think having sex with goats once is fine but having sex with goats multiple times is bad.
You probably meant "GET requests should be side effect free".
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
Section 9.1.2
"Methods can also have the property of "idempotence" in that (aside from error or expiration issues) the side-effects of N > 0 identical requests is the same as for a single request."
A request that is side effect free is idempotent by definition.
I'm pretty sure the concept's use in mathematics predates that by far.
(notice that tweet posting is actually kind of idempotent in twitter: if you post the same message twice, it will only appear once)
Good point. Was getting terminology mixed up with PUT.