Menu

Tree [a52f16] default tip /
 History

Read Only access


File Date Author Commit
 cs 2017-10-09 Rene Hartmann Rene Hartmann [0169ea] Move URL decoding to httpd dir
 doc 2018-07-17 Rene Hartmann Rene Hartmann [a52f16] Fix mistake
 examples 2017-11-13 Rene Hartmann Rene Hartmann [0432b2] Add FSP support on Windows, increase version
 fsp 2017-11-15 Rene Hartmann Rene Hartmann [4c3bce] FSP: Fix content size logging, allow HEAD
 httpd 2017-11-18 Rene Hartmann Rene Hartmann [7b6c76] Update CHANGES and version number
 membuf 2017-11-05 Rene Hartmann Rene Hartmann [12f6a7] Add . and EMIT to FSP
 .hgignore 2016-10-25 Rene Hartmann Rene Hartmann [583791] Add copyright statement
 .hgtags 2017-09-29 Rene Hartmann Rene Hartmann [bffaf6] Added tag rev-0-6 for changeset 7fd996a58066
 CHANGES 2017-11-18 Rene Hartmann Rene Hartmann [7b6c76] Update CHANGES and version number
 LICENSE 2017-07-14 Rene Hartmann Rene Hartmann [3161b8] Update copyright year
 README 2017-08-05 Rene Hartmann Rene Hartmann [211f03] Fix comment, indentation

Read Me

Colono

Colono is a webserver written in Forth which uses an event-based I/O model.

This version runs under GForth, SwiftForth, and VFX Forth on Linux and under
SwiftForth and VFX Forth on MS Windows.

See doc/colono.html for more information.

Request handlers

Processing HTTP requests is delegated to request handlers. A handler for GET
which sends files is included. Handlers for e.g. POST requests can be added.
This makes it possible to implement a REST API using Forth.

An example for a POST handler can be found in examples/posttest.fs
(posttestwin.fs on Windows). Run this file to try out POST requests.
The HTML file form.html can be used to send a POST request which is sent back
by the handler.