Search the web
Sign In
New User? Sign Up
rest-discuss · REST Discussion Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
HTTP headers & status codes   Message List  
Reply | Forward Message #7713 of 14401 |
With all of the discussions about the handling of ETags, If-Match, etc
I thought that I would put up the flowchart we are using to define our
test cases.

See http://www.flickr.com/photos/alan-dean/367132415/

If you notice any errors or misunderstanding of the HTTP spec in the
diagram, please let me know :-)

Regards,
Alan Dean




Tue Jan 23, 2007 5:36 pm

alan_james_dean
Offline Offline
Send Email Send Email

Forward
Message #7713 of 14401 |
Expand Messages Author Sort by Date

With all of the discussions about the handling of ETags, If-Match, etc I thought that I would put up the flowchart we are using to define our test cases. See...
Alan Dean
alan_james_dean
Offline Send Email
Jan 23, 2007
5:39 pm

... Thanks for that; a fantastic resource. I've been using it the last few days to implement a simple REST utility for our internal SOA, and this was just what...
Alexander Johannesen
shelterit
Offline Send Email
Jan 25, 2007
10:30 am

... This was put together by me directly from the HTTP spec, it wasn't taken from an FAQ or Wiki but I am not asserting any restrictions on use so if there is...
Alan Dean
alan_james_dean
Offline Send Email
Jan 25, 2007
10:33 am

... Of course, it would be nice if I was quoted as creator :-)...
Alan Dean
alan_james_dean
Offline Send Email
Jan 25, 2007
10:35 am

Alan: nice work! Is there a higher resolution version of: http://farm1.static.flickr.com/175/367132415_ee9c3b9b40_b_d.jpg available? //Ed...
Edward Summers
inkdroid
Offline Send Email
Jan 26, 2007
9:34 am

... Yes. I don't know why, but flickr lowered the resolution of the uploaded file. I will upload a full-res copy over the weekend to my site and publish the...
Alan Dean
alan_james_dean
Offline Send Email
Jan 28, 2007
4:09 pm

... A full-res jpg can be found at http://thoughtpad.net/who/alan-dean/image/http-headers-status.jpg Regards, Alan Dean...
Alan Dean
alan_james_dean
Offline Send Email
Jan 28, 2007
6:04 pm

... I think one thing that is missing is a more generic handling of method names (you may have that somewhere else in your code, but it's missing from the...
Julian Reschke
JulianReschke
Offline Send Email
Jan 25, 2007
12:28 pm

... Yes - I was only trying to model the RFC2616 HTTP 1.1 Spec, not WebDAV. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html Regards, Alan...
Alan Dean
alan_james_dean
Offline Send Email
Jan 25, 2007
12:53 pm

... ...but that still requires returning the right status code when you don't know the method name, right? Best regards, Julian...
Julian Reschke
JulianReschke
Offline Send Email
Jan 25, 2007
1:05 pm

... If the file / entity exists and the verb is not in (PUT, POST, DELETE, GET, HEAD) then the flow dictates that a 405 Method Not Allowed is returned. ...
Alan Dean
alan_james_dean
Offline Send Email
Jan 25, 2007
1:38 pm

... Understood. I just wanted to clarify that the flow graph is not complete with respect to this (as unsupported methods to an unmapped resource would return...
Julian Reschke
JulianReschke
Offline Send Email
Jan 25, 2007
1:52 pm

... The diagram was edited in Visio. I will check tomorrow to see if it can export in SVG format. Regards, Alan Dean...
Alan Dean
alan_james_dean
Offline Send Email
Jan 28, 2007
6:08 pm

... An svg version now available at http://thoughtpad.net/who/alan-dean/image/http-headers-status.svg as well as the original ...
Alan Dean
alan_james_dean
Offline Send Email
Jan 29, 2007
6:10 pm

... Views great in Batik. Pan and zoom without loss of clarity! Thanks Alan. Very useful. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk...
Dave Pawson
dpawson2000
Offline Send Email
Jan 29, 2007
7:04 pm

... If would be great if you could also add a namespace declaration for XLink. This will make it work in Firefox :-) xmlns:xlink="http://www.w3.org/1999/xlink"...
Niklas Gustavsson
protocol7b
Offline Send Email
Jan 29, 2007
10:35 pm

... Fixed up. Thanks for the tip :-) Alan...
Alan Dean
alan_james_dean
Offline Send Email
Jan 29, 2007
10:50 pm

... I still dispute the allowing POST to non-existent resources. If it doesn't exist, how can you POST into it. 404 or 410 IMO. Which incidentally is another...
Jon Hanna
hack_poet
Offline Send Email
Jan 30, 2007
12:30 pm

... 404 just means no representations are available (source), and doesn't necessarily mean that there isn't any processing logic there (sink). Most HTML form...
Mark Baker
gonga_thrash
Online Now Send Email
Jan 30, 2007
2:10 pm

... If it's there and I can POST to it but not GET it then a GET should return 405 Method Not Allowed with POST in the Allow header. Then I know that it's...
Jon Hanna
hack_poet
Offline Send Email
Jan 30, 2007
2:40 pm

... I've had a think about this and read the spec again. So far as I can tell, the spec does not forbid POSTing onto a missing resource. So I have remodelled...
Alan Dean
alan_james_dean
Offline Send Email
Jan 30, 2007
7:23 pm

... I think that text should read more like: "Known that it will never exist again" and point to "410 Gone, or 404". If it might come back, 404 is still the...
Benjamin Carlyle
fuzzybsc
Offline Send Email
Feb 3, 2007
9:32 pm

... OK, fair point. It does however raise the question: "What should happen if a PUT is made to a resource where it is known that it will never exist again?" ...
Alan Dean
alan_james_dean
Offline Send Email
Feb 3, 2007
10:04 pm

... It's expected that it will not exist again, not guaranteed. Certainly if it's deemed very likely that something will be PUT there again it should be a 404 ...
Jon Hanna
hack_poet
Offline Send Email
Feb 4, 2007
1:43 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help