Mercurial > prosody-modules
diff mod_pubsub_text_interface/mod_pubsub_text_interface.lua @ 3816:8473fd2d09c1
mod_rest: Default to replying with same type as request
If you send JSON then you get JSON back unless you say something
different with the Accept header.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 01 Jan 2020 16:40:10 +0100 |
parents | 9980ea72ff91 |
children | cb5ea9d25cb2 |