Mercurial > prosody-modules
view mod_bob/README.markdown @ 3866:c0df50ce96f0
mod_rest: Handle internal http request errors early and then return
Skips over attempted parsing of the payload which usually failed since
the body is an error string like "connection refused", so this produced
useless errors.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 25 Jan 2020 20:22:12 +0100 |
parents | 3aa5419e3576 |
children | db75772afb28 |
line wrap: on
line source
--- summary: Cache Bits of Binary on MUC services --- 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"; ... } ```