diff mod_rest/mod_rest.lua @ 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 88d0f7438f0e
children f77ae9685eb6
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)