Mercurial > prosody-modules
view mod_pubsub_forgejo/webhook-examples/pull_request/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: d9ef04ca-cba6-4b43-bd81-81f7b10a3415 X-Forgejo-Event: pull_request X-Forgejo-Event-Type: pull_request X-Forgejo-Signature: 7963b65afbfaae02376cb5f44c4534bd28b34000e2c410badd1e3ebd922dbe4b X-GitHub-Delivery: d9ef04ca-cba6-4b43-bd81-81f7b10a3415 X-GitHub-Event: pull_request X-GitHub-Event-Type: pull_request X-Gitea-Delivery: d9ef04ca-cba6-4b43-bd81-81f7b10a3415 X-Gitea-Event: pull_request X-Gitea-Event-Type: pull_request X-Gitea-Signature: 7963b65afbfaae02376cb5f44c4534bd28b34000e2c410badd1e3ebd922dbe4b X-Gogs-Delivery: d9ef04ca-cba6-4b43-bd81-81f7b10a3415 X-Gogs-Event: pull_request X-Gogs-Event-Type: pull_request X-Gogs-Signature: 7963b65afbfaae02376cb5f44c4534bd28b34000e2c410badd1e3ebd922dbe4b X-Hub-Signature: sha1=57534fff7c23b977b2be006e66797faf31a1021b X-Hub-Signature-256: sha256=7963b65afbfaae02376cb5f44c4534bd28b34000e2c410badd1e3ebd922dbe4b
