This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
Adopt a statemachine-like request model #3
Labels
kind/enhancement
A net-new feature or an improvement to an existing feature
Webmachine has been pioneered in CouchDB and its goal is to encode most of HTTP's logic in a finite statemachine (FSM).
The gateway would be a resource, implementing decision functions for a few of webmachine's states. An inofficial and very old Go implementation exists at https://github.com/pomack/webmachine.go. I used to work on the official Ruby implementation, and example resouce code is here: https://github.com/webmachine/webmachine-ruby/blob/master/documentation/examples.md
I think webmachine is a very sane model of HTTP resources, and will make it a lot easier for us to specify, develop, and reason about the IPFS gateway.
The text was updated successfully, but these errors were encountered: