Added new filter to code.c, to convert between line conventions.
This commit is contained in:
parent
50ce143725
commit
3ea9271126
4 changed files with 14 additions and 5 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue