author | Kim Alvefur <zash@zash.se> |
Fri, 24 Aug 2018 23:59:54 +0200 | |
changeset 3280 | cb4b26221cf6 |
parent 3279 | 25b4cad8fee4 |
child 3281 | 78b11fb291a2 |
--- a/mod_atom/mod_atom.lua Fri Aug 24 22:52:13 2018 +0200 +++ b/mod_atom/mod_atom.lua Fri Aug 24 23:59:54 2018 +0200 @@ -36,6 +36,7 @@ for i = #items, 1, -1 do feed:add_direct_child(items[items[i]].tags[1]); end + event.response.headers.content_type = "application/atom+xml"; return tostring(feed); elseif items == "forbidden" then return 403;