Tree for my work on http://tools.suckless.org/quark/
Find a file
Hiltjo Posthuma 7cd3150df7 implement http not modified
On each request send "last-modified" header with the modification time of
each file. the client will store this field and send it on the next
request(s). On the server check the "if-modified-since" field with the
modified date sent by the client, depending on this send all the data or
the "304 not modified" http status.

CAVEAT: it is assumed the exact field will be send by the client, no date/time
conversion is done for simplicity sake, as far as that's possible with http ;)
2014-07-27 11:37:25 +01:00
config.def.h applied rransom's quark patch for FreeBSD compliance, thanks 2011-06-26 10:51:42 +01:00
config.mk initial commit 2009-08-15 19:56:11 +01:00
LICENSE applied Szabolcs patch, added him to LICENSE 2011-02-13 12:46:34 +00:00
Makefile removed non-existent man page install 2010-04-10 21:34:05 +01:00
quark.c implement http not modified 2014-07-27 11:37:25 +01:00
README correct information in README 2014-04-12 12:26:14 +01:00

quark - simple http get server
==============================
quark is an extremly small and simple http get-only web server. It only serves
static pages on a single host.


Installation
------------
Edit config.mk to match your local setup. quark is installed into
/usr/local/bin by default.

Afterwards enter the following command to build and install quark
(if necessary as root):

    $ make clean install


Running quark 
------------
    $ cd <web-root>
    $ sudo quark