HTTP Decision Diagram
An activity diagram to describe the resolution of HTTP response status codes, given various headers, implemented via semantical callbacks.
This is part of a bigger effort Forget HTTP.
And it goes on Twitter as #httpdd - HTTP Decision Diagram.
This is a follow-up/fork of Alan Dean's http-headers-status.
Sean also has a good rundown of why an FSM is a good match for a protocol specification/implementation.
This repository's goal is to build on previous work, and set a "reference" in terms of a HTTP decision diagram and necessary callbacks.
- in a v4 diagram
- by adding/modifying Webmachine's callbacks
- with clear definitions of the steps/logic implied by the callbacks
- with a diagram described as FSM thanks to Cosmogol, with a JSON AST export.
Take it also as a process of gaining context, while the existing callbacks and the existing diagram may be spot on.
Alan Dean (author of http-headers-status) for thinking straight, way before many of us, and sharing his thoughts http://code.google.com/p/http-headers-status .
- Cyril Rohr - http://crohr.me/journal/2011/http-status-codes-flowchart.html