Quoting Sven <[email protected]>: > > Suppose I have a weblog application with RESTful resources accessible > at the following URLs: > > GET /posts > GET /posts/1 > GET /categories/ > GET /categories/1 > GET /categories/1/posts > > As implemented the semantics of /posts and /categories/1/posts are > such that they show "current" posts, with current defined to be a > rolling window of a certain duration. >
GET /posts/1.html # "current" posts GET /posts/1.xml # all posts The former is presumably a browser with a human in front of it. The latter is another app that can define "current" for itself it it wants. Same applies to other non-human readable formats, e.g., json. Just my $0.02USD, Jeffrey --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

