libs/encodings.lua@ee5fc3ee9150
libs/encodings.lua
Fri, 31 Aug 2012 19:40:14 +0200
- author
- Kim Alvefur <zash@zash.se>
- date
- Fri, 31 Aug 2012 19:40:14 +0200
- changeset 314
- ee5fc3ee9150
- parent 130
-
5de7f66e4168
- child 391
-
b496f0262a3f
- permissions
- -rw-r--r--
component: allow binding to non-host jids (thanks mva)
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;