view src/luan/modules/http/serve.luan @ 889:5731a7707466

remove _forwarded
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 06 Oct 2016 23:24:30 -0600
parents 1a68fc55a80c
children 1aa6dd74f3fc
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-URI\n"
	return
end

Server.serve(...)