Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (16 sloc) 708 Bytes
If affection lead a man to favor the less worthy in desert, let
him do it, without depraving or disabling the better deserver.
-- The Essays by Bacon, Sir Francis

Quick Start Guide

git clone
node deserver &
t="`file -ib $f`"
curl -X PUT --data-binary @$f -H "Content-Type:$t"$f
curl$f > $f # yay^_^
curl -X DELETE$f


On startup the server annources itself using the following format:

"Deserving HTTP -> on %s port %u\n", hostname, port

Each HTTP-request is reported using the following format:

"%s %s %u\n", method, url, statusCode
Something went wrong with that request. Please try again.