aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-17 23:19:38 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-17 23:19:38 +0000
commit62799a416d2b29d8058331f3d8725fb67c75d261 (patch)
treefead4d5d3d8b0167c28d2a4a2d5cbf2b2e897691 /test
parent07dda08c5d25dca0f8e79b80998559544aa7c398 (diff)
downloadluasocket-62799a416d2b29d8058331f3d8725fb67c75d261.tar.gz
luasocket-62799a416d2b29d8058331f3d8725fb67c75d261.tar.bz2
luasocket-62799a416d2b29d8058331f3d8725fb67c75d261.zip
Seems to be working.
Diffstat (limited to 'test')
-rw-r--r--test/httptest.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/httptest.lua b/test/httptest.lua
index 45d7e8d..d1f2b88 100644
--- a/test/httptest.lua
+++ b/test/httptest.lua
@@ -70,6 +70,7 @@ io.write("testing request uri correctness: ")
70local forth = cgiprefix .. "/request-uri?" .. "this+is+the+query+string" 70local forth = cgiprefix .. "/request-uri?" .. "this+is+the+query+string"
71local back, c, h = http.request("http://" .. host .. forth) 71local back, c, h = http.request("http://" .. host .. forth)
72if not back then fail(c) end 72if not back then fail(c) end
73print(back)
73back = url.parse(back) 74back = url.parse(back)
74if similar(back.query, "this+is+the+query+string") then print("ok") 75if similar(back.query, "this+is+the+query+string") then print("ok")
75else fail(back.query) end 76else fail(back.query) end