Mercurial > prosody-modules
diff mod_carbons/mod_carbons.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 | 704e4845267b |
children |