News for hackers. Stuff that matters.
Re:Introducing command And commandfor In HTML by neuroelectron on Saturday March 08, 2025 @07:10AM (#43299566)
GET requests always change state on the server because we have logs. Furthermore logs are often parsed by XMLparsers which are often error prone.
Re:Introducing command And commandfor In HTML by xg15 on Saturday March 08, 2025 @07:14AM (#43299587)
This is why idempotency is defined through visible state on the server. What happens on the server doesn't matter, but a GET request should not change the results of any subsequent future requests, as visible to the clients. E.g. adding or modifying a post or a blog entry via a GET request would break the rules.

(Nothing stops you in practice from ignoring that requirement, but it can lead to ugly surprises, such as a crawler triggering a mass deletion because it crawled the /delete links)