HTTP/1.1 (DELETE, GET, HEAD, PUT, POST)

Alan Dean

Subscribe to feeds for this page:  Atom feed for HTTP/1.1 (DELETE, GET, HEAD, PUT, POST) Atom  | RSS feed for HTTP/1.1 (DELETE, GET, HEAD, PUT, POST) RSS  | RDF feed for HTTP/1.1 (DELETE, GET, HEAD, PUT, POST) RDF

View the W3C Semantic data extraction

 

License

Creator: Alan Dean

Creative Commons License
This work is licensed under a Creative Commons Attribution 2.5 License.

Diagram

An activity diagram to describe the resolution of HTTP response status codes, given various headers.

The diagram is available in various formats:

Request for assistance

12th March 2008

Yesterday this diagram was 'reditted' (if there is such a term) and decided that it was time to update the diagram with a number of revisions that have been building up over the last year:

Document Format

Historically, I have used the standard .vsd format for editing the diagram, but I have had a request to use the XML variant instead and I am happy to oblige. So now the editing diagram will be in .vdx format.

Coordinate Matrix

I have put in a coordinate matrix to make finding a particular diagram item easier:

414 Request URI Too Long

Moved v1:B3 to v2:B2 as it makes sense to validate the HTTP Request-Line first, and then assess if the request as a whole is malformed.

Last-Modified > If-Modified-Since?

Resolved logic error. Swapped true / false arrows exiting v2:G13 (if the resource has a last modification date before or equal to the If-Modified-Since value, then 304 Unmodified should be returned).

Extended DELETE response decisions

I have extended the decision tree following DELETE {todo:location} to cater for the 202 Accepted (but not yet enacted) response and if the response contains an entity.

Superfluous HTTP-Method check

Removed superfluous decision icon at v1:E3 (already checked by v2:B7).

Extended POST decision tree

Due to feedback, I have shown the decision tree that if a POST creates a resource with no URI then 200 or 204 are returned (this has caused a fairly significant change in the layout of the diagram).

14th March 2007

30th January 2007

23rd January 2007

Original version uploaded to flickr.