mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-12 22:03:31 +02:00
Added new filter to code.c, to convert between line conventions.
This commit is contained in:
@ -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 = {
|
||||
|
Reference in New Issue
Block a user