What do people think of this syntax/pseudo-code for describing http operations? // get content = server.resource("someURI"); // put server.resource("someURI")...
I agree with GET and PUT, but not POST. How about instead: content = server.resource("someURI") << content; Since POST can get content back, that's why I...
It also highlights the phenomenon of trying to extract all the meaning behind "Representational State Transfer" from just those three words, something more...
Oh yes and by the way, REST is an architectural style, not an architecture, so RESTafarians are not really *web developers*, they're more like *web stylists*...
... Could you please outline why you feel that distributed containment is som important? You seem to put a much stronger emphasis on this than does Roy's...
Paul Prescod
paul@...
Sep 23, 2002 6:53 pm
111
Mark, Could you please point me (again) to your RDF document in which you begin to formalize the concepts of your "Abstract Model for HTTP Resource State"...
... http://www.markbaker.ca/2002/03/RestRDF/ ... Sounds good. The model is incomplete there, plus has some glaring errors that I haven't fixed. Talk to me...
... POST "means" "post" in all cases, but that's an uninteresting level of abstraction. The full meaning has to take into account the full impact on the...
I'm heading down to Florida this weekend, so I went to weather.com to check out the situation. After submitting a zip code in a form on the weather.com ...
[I've move this over here to rest-explore (and tried to cobble together some of the relevant messages below)] This issue seems to have died on the vine. Did...
Jeffrey Winter
j.winter@...
Sep 25, 2002 3:17 pm
116
Can someone please give an example of a resource that on one POST invocation acts as a "processor" and on another acts as a state-preserving container? And how...
(moved to rest-explore) I think this is a corrolary of Roy's PUT/DELETE comment. Remember, PUT isn't defined to be the generic "state setter" that we...
OK, so that brings me back to my original question. How should one deal w/ the "smart" image situation? Assume a resource that returns SVG, JPG, PNG in...
... You would need to use multiple URIs to represent the different content types: PUT /some-resource.svg PUT /some-resource.jpg PUT /some-resource.png But you...
Jeffrey Winter
j.winter@...
Sep 25, 2002 6:29 pm
120
... Hopefully Content-Location discloses the URI of the SVG representation. Do a PUT on that. ... I don't know the early history of PUT, but I imagine that it...
... Ok, sure. I was contemplating how to tie in StatePreservingContainer to a 201 response, but never did anything. Any thoughts on that? ... Unless the...
... Can't think of one off the top of my head. ... How about a resource which is both a StatePreservingContainer and an EternityArchiver? That would make more...
... Yes. ... SOAPAction! What the... I thought we were trying to model REST, or at least HTTP. Nobody said anything about SOAP. I'm gonna quit this job. ...
... Ok, so let's call it "Action", and use it with RFC 2774 such that it's mandatory. I've said it many times, SOAP - the spec, not how people use it - adds ...
OK, I've (re-)read the uri threads again, checked back against the http spec, and still have some questions. Help understanding would be appreciated. First,...
... From: "Mark Baker" <distobj@...> ... invocation acts as a "processor" and on another acts as a state-preserving container? And how the resource would...
... I didn't see that claim being made. ... I don't disagree. One of my biggest frustrations has been that I feel like the only way for me to really...
Chuck Hinson
cmhinson@...
Sep 27, 2002 2:40 am
129
... Right. He just says you don't want PUT if you want multiple representations, because after a PUT there can be only one. That's not a REST or HTTP...
That sounds different than what I was explaining, because in my scenario the user was explicitly requesting that the message be permanently archived. ... -- ...