Software /
code /
prosody-modules
Changeset
3021:4cec8b7aed6d
mod_pubsub_hub: Use the correct MIME type for Atom feeds
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 20 May 2018 17:09:10 +0200 |
parents | 3020:ec671ad1a8a9 |
children | 3022:3996437ff64f |
files | mod_pubsub_hub/mod_pubsub_hub.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_pubsub_hub/mod_pubsub_hub.lua Sun May 20 16:21:07 2018 +0200 +++ b/mod_pubsub_hub/mod_pubsub_hub.lua Sun May 20 17:09:10 2018 +0200 @@ -155,7 +155,7 @@ end local body = tostring(content); local headers = { - ["Content-Type"] = "application/xml", + ["Content-Type"] = "application/atom+xml", }; if subscription.secret then headers["X-Hub-Signature"] = "sha1="..hmac_sha1(subscription.secret, body, true);