Hacker News new | ask | show | jobs
by jpitz 1626 days ago
GET is allowed to have side effects, just not beyond the first invocation of a given request.
1 comments

> GET is allowed to have side effects, just not beyond the first invocation of a given request.

GET can have side effects, and has no difference first and subsequent invocations (because it is safe as well as idempotent). Were it idempotent but not safe, it could have side effects that the client was accountable for the first request, but no different ones of that kind for subsequent uses.

Yes, and to that end, the draft defines QUERY as both idempotent AND safe.