blob: 6ca8ff5f44d96f89b2b06da247535e87aaea24f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
http = {}
http.bind = "localhost:8080"
http.handlers = {}
http.handlers["GET"] = function(request)
return {
handler = "staticfile",
path = "/tmp/foo.txt",
mime = "text/plain"
}
end
|