aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-01-18 08:59:21 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-01-18 08:59:21 +0000
commit3ea92711269153916990d6cd7999bf436775e647 (patch)
tree7643554eabc998871bf7627abe499614836e3b3d /test
parent50ce1437255ada7ec8e667020001a1a00cf5744e (diff)
downloadluasocket-3ea92711269153916990d6cd7999bf436775e647.tar.gz
luasocket-3ea92711269153916990d6cd7999bf436775e647.tar.bz2
luasocket-3ea92711269153916990d6cd7999bf436775e647.zip
Added new filter to code.c, to convert between line conventions.
Diffstat (limited to 'test')
-rw-r--r--test/httptest.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/httptest.lua b/test/httptest.lua
index d3a4dc0..96c9378 100644
--- a/test/httptest.lua
+++ b/test/httptest.lua
@@ -216,8 +216,7 @@ io.write("testing manual basic auth: ")
216request = { 216request = {
217 url = "http://" .. host .. prefix .. "/auth/index.html", 217 url = "http://" .. host .. prefix .. "/auth/index.html",
218 headers = { 218 headers = {
219 authorization = "Basic " .. 219 authorization = "Basic " .. (socket.code.b64("luasocket:password"))
220 socket.code.base64.encode("luasocket:password")
221 } 220 }
222} 221}
223expect = { 222expect = {