|
|
|
|
|
by enjo
4954 days ago
|
|
GET requests, by definition, should have no side-effects. Which makes them cacheable. Many browsers cache GET requests by default unless cache-control tells them not to. You can most definitely write a GET request that contains side-effects, but that's because you're doing it wrong (tm). Imagine if your function names had data in the call path MyCourse.32423.Delete(); that doesn't look very good does it? 32423 would look alot better inside Delete(). That's not data, that's an object. "MyCourse.32423" is the actual resource. It would actually look something more like: MyCourse32423.Delete(); Which seems pretty reasonable to me if we're trying to map this into programming language semantics (which I'm not even sure we should be doing). |
|