Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (15 sloc) 637 Bytes
TLDR
This is a proof of concept assembly of the following parts:
* a parser written in parslet[1] for HTTP headers
* some glue code from net-http-server[2]
* a tcp server written using cod[3]
* rack
The example simple.{rb,ru} proves that these form a minimal rack webserver
just like net-http-server or webrick.
WHY
This is an experiment to try and see what the minimal amount of code for such
a server is today. My plan is to develop this further into something almost
unicorn-like, without inflating code size.
[1] github.com/kschiess/parslet
[2] github.com/postmodern/net-http-server
[3] github.com/kschiess/cod