Wed, 01 Jan 2020 17:45:07 +0100 mod_rest: Fix previous commit
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
Wed, 01 Jan 2020 17:37:04 +0100 mod_rest: Guess 'get' as default type for 'iq' stanzas in JSON mapping
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
Wed, 01 Jan 2020 17:16:40 +0100 mod_rest: Stricter type checks 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
Wed, 01 Jan 2020 16:40:10 +0100 mod_rest: Default to replying with same type as request
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.
Wed, 01 Jan 2020 16:37:18 +0100 mod_rest: Short-circuit type selection if 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
Wed, 01 Jan 2020 16:35:55 +0100 mod_rest: Fix return status when sending and forgetting
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.
Wed, 01 Jan 2020 16:21:28 +0100 mod_rest: Add JSON support
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 16:21:28 +0100] rev 3817
mod_rest: Add JSON support
Wed, 01 Jan 2020 16:19:10 +0100 mod_rest: Factor out serialization of outgoing stanzas
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
Wed, 01 Jan 2020 16:01:25 +0100 mod_rest: Factor out response content type selection
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
Wed, 01 Jan 2020 15:43:47 +0100 mod_rest: Factor out payload parsing
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 15:43:47 +0100] rev 3814
mod_rest: Factor out payload parsing To make it easier to add new format parsers in a single place
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip