diff options
Diffstat (limited to 'test/httptest.lua')
-rw-r--r-- | test/httptest.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/httptest.lua b/test/httptest.lua index ce7a93b..71021a4 100644 --- a/test/httptest.lua +++ b/test/httptest.lua | |||
@@ -4,15 +4,15 @@ | |||
4 | -- to "/luasocket-test-cgi" and "/luasocket-test-cgi/" | 4 | -- to "/luasocket-test-cgi" and "/luasocket-test-cgi/" |
5 | -- needs "AllowOverride AuthConfig" on /home/c/diego/tec/luasocket/test/auth | 5 | -- needs "AllowOverride AuthConfig" on /home/c/diego/tec/luasocket/test/auth |
6 | local socket = require("socket") | 6 | local socket = require("socket") |
7 | local http = require("socket.http") | ||
8 | local url = require("socket.url") | ||
7 | 9 | ||
8 | -- override protection to make sure we see all errors | ||
9 | -- socket.protect = function(s) return s end | ||
10 | |||
11 | local http = require("http") | ||
12 | local mime = require("mime") | 10 | local mime = require("mime") |
13 | local url = require("url") | ||
14 | local ltn12 = require("ltn12") | 11 | local ltn12 = require("ltn12") |
15 | 12 | ||
13 | -- override protection to make sure we see all errors | ||
14 | -- socket.protect = function(s) return s end | ||
15 | |||
16 | dofile("testsupport.lua") | 16 | dofile("testsupport.lua") |
17 | 17 | ||
18 | local host, proxy, request, response, index_file | 18 | local host, proxy, request, response, index_file |