| author | wenzelm |
| Tue, 28 Aug 2012 20:16:11 +0200 | |
| changeset 48989 | 06c0e350782c |
| parent 33823 | 24090eae50b6 |
| permissions | -rw-r--r-- |
(* Title: Tools/WWW_Find/echo.ML Author: Timothy Bourke, NICTA Install simple echo server. *) local fun echo (req, content, send) = (send (ScgiReq.show req); send "--payload-----\n"; send (Byte.bytesToString content); send "\n--------------\n") in val () = ScgiServer.register ("echo", SOME Mime.plain, echo); end;