Re:The Spider of Doom
by pavel_lishin on Wednesday October 12, 2011 @11:24AM
(#3103251)
Also why a GET request should never delete, or possibly even modify, data.
[ Parent
| on HN ]
Indeed, although it isn't enough anymore:
https://news.ycombinator.com/item?id=3100239
For sure. Combine the 2 mistakes and you're pretty fucked
[deleted]
Re:The Spider of Doom
by JonnieCache on Wednesday October 12, 2011 @11:59AM
(#3103386)
>Why should a GET never modify data?
Because that's what the HTTP spec says. Wander off-spec, and you will eventually have problems, like the unfortunate gov department in the article.
http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Saf...
Relatedly, idempotency is a too-poorly understood concept.
Re:The Spider of Doom
by pavel_lishin on Wednesday October 12, 2011 @11:40AM
(#3103317)
> That would stop half the web working.
What do you mean?
Re:The Spider of Doom
by loup-vaillant on Wednesday October 12, 2011 @11:59AM
(#3103385)
Probably that half the web rely on GET requests to do things they are totally not intended to do, like, deleting a resource.
Therefore, if you suddenly find a way to actually forbid GET to ever trigger that, then that half wouldn't work "properly" any more.