From 4d455c6206747ca65b14d65f75d34e16450d352b Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Fri, 17 Jun 2005 04:04:55 +0000 Subject: Using core.so instead of csocket.so and cmime.so. --- test/httptest.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/httptest.lua b/test/httptest.lua index 963b947..86f14a4 100644 --- a/test/httptest.lua +++ b/test/httptest.lua @@ -22,7 +22,7 @@ http.TIMEOUT = 10 local t = socket.gettime() -host = host or "diego.student.princeton.edu" +host = host or "localhost" -- "diego.student.princeton.edu" proxy = proxy or "http://localhost:3128" prefix = prefix or "/luasocket-test" cgiprefix = cgiprefix or "/luasocket-test-cgi" @@ -146,6 +146,7 @@ ignore = { check_request(request, expect, ignore) ------------------------------------------------------------------------ +--[[ io.write("testing proxy with post method: ") request = { url = "http://" .. host .. cgiprefix .. "/cat", @@ -163,6 +164,7 @@ ignore = { headers = 1 } check_request(request, expect, ignore) +]] ------------------------------------------------------------------------ io.write("testing simple post function: ") @@ -249,6 +251,7 @@ ignore = { check_request(request, expect, ignore) ------------------------------------------------------------------------ +--[[ io.write("testing proxy with redirection: ") request = { url = "http://" .. host .. prefix, @@ -263,6 +266,7 @@ ignore = { headers = 1 } check_request(request, expect, ignore) +]] ------------------------------------------------------------------------ io.write("testing automatic auth failure: ") -- cgit v1.2.3-55-g6feb