Added new filter to code.c, to convert between line conventions.

This commit is contained in:
Diego Nehab 2004-01-18 08:59:21 +00:00
parent 50ce143725
commit 3ea9271126
4 changed files with 14 additions and 5 deletions

View file

@ -216,8 +216,7 @@ io.write("testing manual basic auth: ")
request = {
url = "http://" .. host .. prefix .. "/auth/index.html",
headers = {
authorization = "Basic " ..
socket.code.base64.encode("luasocket:password")
authorization = "Basic " .. (socket.code.b64("luasocket:password"))
}
}
expect = {