Mercurial Hosting > luan
view src/luan/modules/http/serve.luan @ 1179:f9136432847e
add request.raw_head
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 14 Feb 2018 16:41:36 -0700 |
parents | 1aa6dd74f3fc |
children | 7f4a12fb7716 |
line wrap: on
line source
local Io = require "luan:Io.luan" local Server = require "luan:http/Server.luan" if #{...} ~= 1 then Io.stderr.write "usage: luan luan:http/serve dir\n" return end Server.serve(...)