Hello, I have a question about the if-match header. As a client, I would like to PUT a new representation of a resource that I get in the past with entity tag...
... 412 because the If-Match has failed. At the client you know that this 412 means one of the following: 1. The resource was changed and hence has a different...
I'm sure this is a total noob question but I haven't been able to find an answer :) My beloved has started learning ancient Greek. So I'm planning to set up a...
Thierry, Thank you for your kind comments. I am based my interpreation of the handling of "If-Match: *" where a resource does not exist on the following...
... You could implement a dice throw as follows: --> GET /dice/throw <-- 302 Found Location: /dice/4 {representation} ... perhaps you may want the client to...
... Assuming you have no security requirements upon "cheating" this is a question of one activity (just what that activity is is your very question) mapping to...
... It does indeed treat this value as a special case, though when you consider as a wild card it's "specialness" is reduced. The spec *does* specify what to...
... If I understand your contention correctly, you are saying that: If the resource is missing; and any value at all is specified in If-Match then return 412...
... Nope. If the resource is missing and any value at all is specified in If-Match and request would otherwise result in 2xx result the 412 Precondition...
Hello, This is not strictly speaking related to REST per se, but... perhaps someone could point me to the right direction nonetheless... To make a long story...
PA
petite.abeille@...
Feb 1, 2007 8:03 pm
7777
... Here's your pointer: (:-) come over to the (former) HTTP WG'smailing list: <http://lists.w3.org/Archives/Public/ietf-http-wg/>. Best regards, Julian...
... The response is not meant to change randomly - you said "... want me to complete". Until you've indicated that your state is 'complete', then the response...
Here's another approach - each lesson retrieved has a link to the next lesson. The client decides when it is complete, then retrieves the next lesson. That...
Hi, I've never built a REST app but am thinking of going that direction with the next major version of a content repository API used by my employer. There's a...
... We have discussed in the past: POST /someresource => 201 /someresource/1 POST /someresource/1 { data } => 201 and again... and again... until you've added...
Hi Paul, ... You might also want to check out JSR 170[1] ... Yes, APP is indeed very interesting towards that end. I tend to see APP/Atom to provide for the...
... Hmm, yes. That's probably due to my bad English. What I've meant was that the trainer selects one of many exercises that the trainee is asked to take. An...
Thanks a lot, guys, for all the kind and quite illuminating responses! ... I now have the feeling that I've asked for something pretty obvious. ;) Using curl...
... Cool :) I've not been aware of this content-type. I (think I) understand how this kind of response exactly models what I've been asking for. But as I'm...
Ok, but you needn't use text/uri-list. text/html would work as well (with lots more content, of course). The point is simply that you can treat the die/dice...
... POST /dice/throw -> HTTP 1.1 201 Created Location: /dice/throw/90802 Content-type: text/plain 6 ... GET /dice/throw -> //an Atom feed of recent throws GET...
... That looks interesting, thanks! ... Okay. I hadn't looked into the idea of custom headers. Somehow I assumed that wasn't kosher, since it means the client...
... Yeah, I'm starting to find my way in the archives, lots of stuff to catch up on... ... Not sure what resource you meant here. Is that the right URI? Also,...
... Yes. You get a representation of the entire transaction state. ... Sure. But we're talking about a representation of the transaction state. It doesn't have...
... Thanks for the link, but AFAICT it's not really useful if neither the client or the server is Java ;-) Nearly everything here is either Ruby or Python...