# HG changeset patch # User Kim Alvefur # Date 1582926053 -3600 # Node ID 7dec5d096bb8b5cd6f16c585761df0fd09ee9ab5 # Parent 88d0f7438f0e6124b111308a888c62b021ed2c4e mod_rest: Advertise "support" for text/plain diff -r 88d0f7438f0e -r 7dec5d096bb8 mod_rest/mod_rest.lua --- a/mod_rest/mod_rest.lua Fri Feb 28 22:39:42 2020 +0100 +++ b/mod_rest/mod_rest.lua Fri Feb 28 22:40:53 2020 +0100 @@ -87,6 +87,7 @@ "application/xmpp+xml", "application/json", "application/x-www-form-urlencoded", + "text/plain", }; local function decide_type(accept)