27

Activity diagram to describe the resolution of HTTP response status codes

 4 years ago
source link: https://github.com/for-GET/http-decision-diagram
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

http-decision-diagram

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

And it goes on Twitter as #httpdd - HTTP Decision Diagram.

This is part of a bigger effort: for-GET HTTP .

The diagram follows the indications in RFC7230 RFC7231 RFC7232 RFC7233 RFC7234 RFC7235 , and fills in the void where necessary. Under no circumstances does this diagram override the HTTP specifications. If it does, please file an issue as soon as possible.

The diagram is also available in PNG/JPEG/SVG and JSON format exported from the Cosmogol source. See the documentation here .

R7Fb2m7.png!web

cache-retrieve and cache-store

Darrel Miller started something similar to HTTP decision diagram, in terms of deciding whether to cache (store) or not a HTTP response, and whether to respond to a HTTP request with a cached HTTP response or not.

The cache-retrieve diagram is available in PNG/JPEG/SVG and JSON format exported from the Cosmogol source.

The cache-store diagram is available in PNG/JPEG/SVG and JSON format exported from the Cosmogol source.

README more

License

Apache 2.0


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK