Mercurial > prosody-modules
view mod_bob/README.markdown @ 5954:e5b5a74feb91
mod_rest: Workaround lack of number coercion in util.datamapper for HTTP upload
util.datamapper will not coerce a string into an integer like the
XEP-0363 'size' slot, which becomes a problem when using the HTTP GET
method, passing fields as ?query parameters which are always strings.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 19 Aug 2024 20:08:41 +0200 |
parents | db75772afb28 |
children |
line wrap: on
line source
--- summary: Cache Bits of Binary on MUC services rockspec: dependencies: - mod_cache_c2s_caps --- Description =========== This module extracts cid: URIs (as defined in XEP-0231) from messages, and replies with their content whenever another client asks for the actual data. Usage ===== ```lua Component "rooms.example.org" "muc" modules_enabled = { "bob"; ... } ```