Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 18:11:55 +0100] rev 3824
mod_rest: Add a JSON callback example
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 17:45:07 +0100] rev 3823
mod_rest: Fix previous commit
Working with the stanza, not the JSON table
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 17:37:04 +0100] rev 3822
mod_rest: Guess 'get' as default type for 'iq' stanzas in JSON mapping
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 17:16:40 +0100] rev 3821
mod_rest: Stricter type checks in JSON mapping
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 16:40:10 +0100] rev 3820
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.
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 16:37:18 +0100] rev 3819
mod_rest: Short-circuit type selection if accept header
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 16:35:55 +0100] rev 3818
mod_rest: Fix return status when sending and forgetting
Turns out module:send() doesn't return anything, so there's no way to
know if it was routed successfully.
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 16:21:28 +0100] rev 3817
mod_rest: Add JSON support
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 16:19:10 +0100] rev 3816
mod_rest: Factor out serialization of outgoing stanzas
More preparation for content negotiation
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 16:01:25 +0100] rev 3815
mod_rest: Factor out response content type selection
Preparation for future addition of other encodings