view mod_pubsub_forgejo/webhook-examples/push/headers @ 6411:b00638d74f46

mod_unified_push: Allow additional CORS headers for unified push (fixes #1985) - Request header "TTL" is mandated by the HTTP Push specification RFC 8030: https://datatracker.ietf.org/doc/html/rfc8030#section-5 - Firefox sends "Content-Encoding" with a HTTP form submission, so it is required when using the Unified Push testing tool at https://unifiedpush.org/test_wp.html (with the full URL being delivered by the UP-Example Android app) Adding both headers makes the Unified Push testing tool work from the browser. Resolves: https://issues.prosody.im/1985
author Christian Weiske <cweiske@cweiske.de>
date Sat, 21 Feb 2026 19:13:08 +0100
parents 131b8bfbefb4
children
line wrap: on
line source

Content-Type: application/json
X-Forgejo-Delivery: eec91577-9e9a-4914-929e-b7870f77fd57
X-Forgejo-Event: push
X-Forgejo-Event-Type: push
X-Forgejo-Signature: 0bd1c7325306a6f469df72d9966b2e89cebcf1fb790a1926ef9ff094141eed26
X-GitHub-Delivery: eec91577-9e9a-4914-929e-b7870f77fd57
X-GitHub-Event: push
X-GitHub-Event-Type: push
X-Gitea-Delivery: eec91577-9e9a-4914-929e-b7870f77fd57
X-Gitea-Event: push
X-Gitea-Event-Type: push
X-Gitea-Signature: 0bd1c7325306a6f469df72d9966b2e89cebcf1fb790a1926ef9ff094141eed26
X-Gogs-Delivery: eec91577-9e9a-4914-929e-b7870f77fd57
X-Gogs-Event: push
X-Gogs-Event-Type: push
X-Gogs-Signature: 0bd1c7325306a6f469df72d9966b2e89cebcf1fb790a1926ef9ff094141eed26
X-Hub-Signature: sha1=eacf3469341d9deecfcfbb3a63a4f1d55e60226c
X-Hub-Signature-256: sha256=0bd1c7325306a6f469df72d9966b2e89cebcf1fb790a1926ef9ff094141eed26