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