diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-18 08:59:21 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-18 08:59:21 +0000 |
commit | 3ea92711269153916990d6cd7999bf436775e647 (patch) | |
tree | 7643554eabc998871bf7627abe499614836e3b3d /src | |
parent | 50ce1437255ada7ec8e667020001a1a00cf5744e (diff) | |
download | luasocket-3ea92711269153916990d6cd7999bf436775e647.tar.gz luasocket-3ea92711269153916990d6cd7999bf436775e647.tar.bz2 luasocket-3ea92711269153916990d6cd7999bf436775e647.zip |
Added new filter to code.c, to convert between line conventions.
Diffstat (limited to 'src')
-rw-r--r-- | src/http.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.lua b/src/http.lua index 2fc9e87..f51da25 100644 --- a/src/http.lua +++ b/src/http.lua | |||
@@ -419,7 +419,7 @@ end | |||
419 | ----------------------------------------------------------------------------- | 419 | ----------------------------------------------------------------------------- |
420 | local function authorize(reqt, parsed, respt) | 420 | local function authorize(reqt, parsed, respt) |
421 | reqt.headers["authorization"] = "Basic " .. | 421 | reqt.headers["authorization"] = "Basic " .. |
422 | socket.code.base64.encode(parsed.user .. ":" .. parsed.password) | 422 | (socket.code.b64(parsed.user .. ":" .. parsed.password)) |
423 | local autht = { | 423 | local autht = { |
424 | nredirects = reqt.nredirects, | 424 | nredirects = reqt.nredirects, |
425 | method = reqt.method, | 425 | method = reqt.method, |