Software /
code /
prosody-modules
Diff
mod_pubsub_hub/mod_pubsub_hub.lua @ 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 |
parent | 1458:e9d164e694e7 |
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);