# $Id$

ReadMe file for fancyhttpd


Introduction
============

FancyHTTPd is a small http server to test and demonstrate fancysock's HttpServerTransport.


SSL HowTo
=========

To be able to use SSL (fancyhttpd paramater -s) put some PEM files
in the etc directory, i.e. /etc/fancyhttpd/ in Linux, etc\ in Windows.

The file names are hard coded:
fancyhttpd.cert:  server certificate, required
fancyhttpd.key:   private key with empty password, required
fancyhttpd.ca:    CA, optional
fancyhttpd.subca: SubCA chain, optional


Raw Handler
===========

A GET request to /raw/foobar delivers /var/lib/fancyhttpd/htdocs/raw/foobar
with responsde headers from eventual /var/lib/fancyhttpd/htdocs/raw/foobar.headers

Supported query paramters:
  fs:  'frame' size in bytes (size of written block)
  ms:  milliseconds to wait after each block

