Changeset

3925:7dec5d096bb8

mod_rest: Advertise "support" for text/plain
author Kim Alvefur <zash@zash.se>
date Fri, 28 Feb 2020 22:40:53 +0100
parents 3924:88d0f7438f0e
children 3926:f77ae9685eb6
files mod_rest/mod_rest.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)