diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-07-02 23:31:57 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-07-02 23:31:57 +0000 |
| commit | c3e0063b430beba5d7e6911c8f59fd37b8017e61 (patch) | |
| tree | 65a8510b49e2c9684140d2a3a4b0e3b6ddc510b2 | |
| parent | 87d260356a83b03df2629d31718bae381cd6b363 (diff) | |
| download | luasocket-c3e0063b430beba5d7e6911c8f59fd37b8017e61.tar.gz luasocket-c3e0063b430beba5d7e6911c8f59fd37b8017e61.tar.bz2 luasocket-c3e0063b430beba5d7e6911c8f59fd37b8017e61.zip | |
Removed debug prints.
| -rw-r--r-- | test/httptest.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/httptest.lua b/test/httptest.lua index 8f94861..5186bd5 100644 --- a/test/httptest.lua +++ b/test/httptest.lua | |||
| @@ -19,7 +19,7 @@ http.TIMEOUT = 10 | |||
| 19 | 19 | ||
| 20 | local t = socket.gettime() | 20 | local t = socket.gettime() |
| 21 | 21 | ||
| 22 | host = host or "diego.student.princeton.edu" | 22 | host = host or "diego.student.dyn.cs.princeton.edu" |
| 23 | proxy = proxy or "http://localhost:3128" | 23 | proxy = proxy or "http://localhost:3128" |
| 24 | prefix = prefix or "/luasocket-test" | 24 | prefix = prefix or "/luasocket-test" |
| 25 | cgiprefix = cgiprefix or "/luasocket-test-cgi" | 25 | cgiprefix = cgiprefix or "/luasocket-test-cgi" |
| @@ -69,7 +69,6 @@ end | |||
| 69 | io.write("testing request uri correctness: ") | 69 | io.write("testing request uri correctness: ") |
| 70 | local forth = cgiprefix .. "/request-uri?" .. "this+is+the+query+string" | 70 | local forth = cgiprefix .. "/request-uri?" .. "this+is+the+query+string" |
| 71 | local back, c, h = http.request("http://" .. host .. forth) | 71 | local back, c, h = http.request("http://" .. host .. forth) |
| 72 | print(back, c, h) | ||
| 73 | if not back then fail(c) end | 72 | if not back then fail(c) end |
| 74 | back = url.parse(back) | 73 | back = url.parse(back) |
| 75 | if similar(back.query, "this+is+the+query+string") then print("ok") | 74 | if similar(back.query, "this+is+the+query+string") then print("ok") |
