libs/encodings.lua

Sun, 20 May 2018 00:56:24 +0200

author
Kim Alvefur <zash@zash.se>
date
Sun, 20 May 2018 00:56:24 +0200
changeset 415
37674f8ce263
parent 391
b496f0262a3f
child 431
9d7a293849f3
permissions
-rw-r--r--

verse.plugins.pep: Support taking an item id, default to "current"

XEP-0060 recommends using "current" in section 'Singleton Nodes' and
many PEP use cases follow this pattern.

local function not_impl()
	error("Function not implemented");
end

local mime = require "mime";

module "encodings"

stringprep = {};
base64 = { encode = mime.b64, decode = mime.unb64 };

return _M;

mercurial