libs/encodings.lua@f6702e7ce5f9
libs/encodings.lua
Fri, 18 Mar 2011 21:33:53 +0000
- author
- Matthew Wild <mwild1@gmail.com>
- date
- Fri, 18 Mar 2011 21:33:53 +0000
- changeset 198
- f6702e7ce5f9
- parent 130
-
5de7f66e4168
- child 391
-
b496f0262a3f
- permissions
- -rw-r--r--
libs/adhoc.lib.lua: Update copy (ugh) from Prosody
local function not_impl()
error("Function not implemented");
end
local mime = require "mime";
module "encodings"
stringprep = {};
base64 = { encode = mime.b64, decode = not_impl }; --mime.unb64 is buggy with \0
return _M;