
A simple mostly-HTTP/1.0 server.

See documentation in doc/index.html or at http://araneida.telent.net/

This file is out-of-date in some places, and has never ever been true
in others.  It exists as a source for me to gut while producing the
HTML stuff.

* Hosts

Support for HTTP/1.1 virtual hosts (the 'Host:' header) is included.
The URL that is tried against the export list is computed by combining
the canonicalised Host: header and the partial URL requested in the
GET line.  

Hostnames are canonicalised by lowercasing them and removing any
trailing dot.  If you have further hostname canonicalisation
requirements (for example you use the server in an intranet
environment where people can reach "www.foo.com" by typing "www" in
their browser), then you are stuck.  One approach you might take is to
export a redirect url for the host "www" that sends the browser to
"www.foo.com" instead.  If you have any better way to handle clients
that don't supply FQDNs in the Host: header, please divulge.
