Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.637 kB
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
Jump to Line
Something went wrong with that request. Please try again.