diff options
Diffstat (limited to 'src/tools/httpd_inets.erl')
-rw-r--r-- | src/tools/httpd_inets.erl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tools/httpd_inets.erl b/src/tools/httpd_inets.erl new file mode 100644 index 0000000..161d0f5 --- /dev/null +++ b/src/tools/httpd_inets.erl @@ -0,0 +1,8 @@ +-module('httpd_inets'). +-export([hello/3]). + +hello(SessionID, _Env, _Input) -> + mod_esi:deliver(SessionID, [ + "Content-Type: text/html\r\n\r\n", + "<html><body>hello, erlang world</body></html>" + ]). |