# HG changeset patch # User Kim Alvefur # Date 1526828950 -7200 # Node ID 4cec8b7aed6dce6daf799d94d999db80a3dc115a # Parent ec671ad1a8a9bddd8cea8e57b787215d1e68d0db mod_pubsub_hub: Use the correct MIME type for Atom feeds diff -r ec671ad1a8a9 -r 4cec8b7aed6d mod_pubsub_hub/mod_pubsub_hub.lua --- 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);