diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-18 08:59:21 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-18 08:59:21 +0000 |
commit | 3ea92711269153916990d6cd7999bf436775e647 (patch) | |
tree | 7643554eabc998871bf7627abe499614836e3b3d /test | |
parent | 50ce1437255ada7ec8e667020001a1a00cf5744e (diff) | |
download | luasocket-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.lua | 3 |
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: ") | |||
216 | request = { | 216 | request = { |
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 | } |
223 | expect = { | 222 | expect = { |