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
|
@ -419,7 +419,7 @@ end
|
|||
-----------------------------------------------------------------------------
|
||||
local function authorize(reqt, parsed, respt)
|
||||
reqt.headers["authorization"] = "Basic " ..
|
||||
socket.code.base64.encode(parsed.user .. ":" .. parsed.password)
|
||||
(socket.code.b64(parsed.user .. ":" .. parsed.password))
|
||||
local autht = {
|
||||
nredirects = reqt.nredirects,
|
||||
method = reqt.method,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue