This is a simple HTTP server. It aims to conform with HTTP 1.0, but probably still has a few bugs. You can add and remove handlers dynamically, but there is no support for CGI scripts yet.
An HttpHandler class must inherit from
HttpHandler('class') at 'x-ozlib://mathweb/httpd/HttpHandler.ozf'It must implement the following method:
meth handle(UriInContext Request Connection) ... endUriInContext is the derived from the URI of the Request by dropping the context path prefix. E.g. if the request uri is /foo/bar?baz=example and the handler has been registered at /foo/* then UriInContext will be equal to {URL.make "/bar?baz=example"}
This package can be installed by following the usual
configure, build, install procedure, i.e. by executing a the
shell:
./configure
make install
By default, all files of the package are
installed in the user's ~/.oz directory tree. In
particular, all modules are installed in the user's private cache.