Closed RobinQu closed 11 years ago
Out of curiosity; what browsers/versions does not support PUT/DELETE?
Basic html anchors cannot change its http method when sending requests.
which is why we have methodOverride
, isn't it?
I don't think there is any place for GET /resource/destroy
to be interpreted as a DELETE
. That is out of alignment with HTTP semantics in important ways.
Look up the history of the Google Web Accelerator for some concrete examples of what can happen when you disregard the semantics of the protocol.
eek yeah GET should absolutely not destroy data, GET should be idempotent.
support for GET :resource/destroy and POST :resource/update