comparison src/luan/modules/http/test.luan @ 1281:7fc83fd2a39a

http/Server cleanup
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 20 Dec 2018 14:09:19 -0700
parents a50803fde972
children 307e76ccd0d6
comparison
equal deleted inserted replaced
1280:781ec0a92bb5 1281:7fc83fd2a39a
3 local Server = require "luan:http/Server.luan" 3 local Server = require "luan:http/Server.luan"
4 local Logging = require "luan:logging/Logging.luan" 4 local Logging = require "luan:logging/Logging.luan"
5 5
6 6
7 if #{...} ~= 2 then 7 if #{...} ~= 2 then
8 Io.stderr.write "usage: luan luan:http/serve dir test-URI\n" 8 Io.stderr.write "usage: luan luan:http/test.luan dir test-URI\n"
9 return 9 return
10 end 10 end
11 11
12 local dir, test = ... 12 local dir, test = ...
13 13