Mercurial > prosody-modules
view mod_pubsub_forgejo/webhook-examples/release/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: a5a5e377-23e0-4333-bd03-d6dac1f3e75c X-Forgejo-Event: release X-Forgejo-Event-Type: release X-Forgejo-Signature: 4a2ee940e19a1c16281ce219d23be37b7cf8c5ca45107658e560ab73e958b69b X-GitHub-Delivery: a5a5e377-23e0-4333-bd03-d6dac1f3e75c X-GitHub-Event: release X-GitHub-Event-Type: release X-Gitea-Delivery: a5a5e377-23e0-4333-bd03-d6dac1f3e75c X-Gitea-Event: release X-Gitea-Event-Type: release X-Gitea-Signature: 4a2ee940e19a1c16281ce219d23be37b7cf8c5ca45107658e560ab73e958b69b X-Gogs-Delivery: a5a5e377-23e0-4333-bd03-d6dac1f3e75c X-Gogs-Event: release X-Gogs-Event-Type: release X-Gogs-Signature: 4a2ee940e19a1c16281ce219d23be37b7cf8c5ca45107658e560ab73e958b69b X-Hub-Signature: sha1=c8e893eadcd047e87270bdf930088149948c5b1b X-Hub-Signature-256: sha256=4a2ee940e19a1c16281ce219d23be37b7cf8c5ca45107658e560ab73e958b69b
