diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-02-27 23:38:58 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-02-27 23:38:58 +0100 |
commit | b8b25a522ff1a05c9b8d64b2e875eb8a04967b40 (patch) | |
tree | 7e64a86f20f9d25bfda34cb62a4eecae45d47ce4 /src/mulk/benki/main.clj | |
parent | 453f7bfec6cba157c81ac1c170cd92aee38e4762 (diff) |
Book Marx: Serve Atom feed UTF-8-encoded.
Diffstat (limited to 'src/mulk/benki/main.clj')
-rw-r--r-- | src/mulk/benki/main.clj | 2 |
1 files changed, 1 insertions, 1 deletions
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)))) |