summaryrefslogtreecommitdiff
path: root/src/tools/httpd_inets.erl
blob: 161d0f5d67bc037e9ade443299fc450c9756c7a3 (plain)
1
2
3
4
5
6
7
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>"
                               ]).