On 20.06.2007, at 17:26, Marc de Graauw wrote:
I can see how that leads to PUT being idempotent, but I cannot see
why this
would make POST necessarily non-idempotent.
Marc,
the way how I see it is that what matters is the client's
perspective. If I say 'process this' I explicitly request that
action to happen. If I say it twice, I want it to happen twice. If
there were room for any other interpretation, we'd end up with
ambiguity.
OTH, PUT means 'set state' and that is inherently the same effect,
independent of how often I request the operation.
It is the nature of the method that matters and not what might happen
behind the interface.
Jan