From b8b25a522ff1a05c9b8d64b2e875eb8a04967b40 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Mon, 27 Feb 2012 23:38:58 +0100 Subject: Book Marx: Serve Atom feed UTF-8-encoded. --- src/mulk/benki/main.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mulk/benki/main.clj') diff --git a/src/mulk/benki/main.clj b/src/mulk/benki/main.clj index 5367068..169b60b 100644 --- a/src/mulk/benki/main.clj +++ b/src/mulk/benki/main.clj @@ -16,7 +16,7 @@ ctype (get-in response [:headers "Content-Type"]) utf8ctype (str ctype "; charset=utf-8")] (if (and ctype - (re-matches #"^(text/html|text/plain|application/xhtml+xml|text/xml)$" ctype)) + (re-matches #"^(text/html|text/plain|application/xhtml+xml|text/xml|application/atom+xml)$" ctype)) (assoc-in response [:headers "Content-Type"] utf8ctype) response)))) -- cgit v1.2.3