From ed24b67802661c499c6b92e0cf92ec10227be0e9 Mon Sep 17 00:00:00 2001 From: "Charles E. Lehner" Date: Mon, 14 Sep 2020 15:41:08 -0400 Subject: Render application/xml as plain text --- gemini.filter.dpi | 1 + 1 file changed, 1 insertion(+) (limited to 'gemini.filter.dpi') diff --git a/gemini.filter.dpi b/gemini.filter.dpi index 7558980..7ecc60e 100755 --- a/gemini.filter.dpi +++ b/gemini.filter.dpi @@ -159,6 +159,7 @@ serve_success() { type=$1 case "$type" in text/gemini*) render_gemini;; + application/xml|application/*+xml) printf "Content-type: text/xml\r\n\r\n"; cat;; *) printf "Content-type: %s\r\n\r\n" "$type"; cat;; esac } -- cgit v1.2.3