mod_pubsub_hub/mod_pubsub_hub.lua
changeset 3025 4cec8b7aed6d
parent 1458 e9d164e694e7
--- 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);