Mercurial > prosody-modules
view mod_pubsub_forgejo/webhook-examples/create/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: 2e3badae-779d-4627-94c7-505deeee8b55 X-Forgejo-Event: create X-Forgejo-Event-Type: create X-Forgejo-Signature: 99f6adf0a156c379057735690dcfae3f483a026dde78ace6252b3da60b0e6bad X-GitHub-Delivery: 2e3badae-779d-4627-94c7-505deeee8b55 X-GitHub-Event: create X-GitHub-Event-Type: create X-Gitea-Delivery: 2e3badae-779d-4627-94c7-505deeee8b55 X-Gitea-Event: create X-Gitea-Event-Type: create X-Gitea-Signature: 99f6adf0a156c379057735690dcfae3f483a026dde78ace6252b3da60b0e6bad X-Gogs-Delivery: 2e3badae-779d-4627-94c7-505deeee8b55 X-Gogs-Event: create X-Gogs-Event-Type: create X-Gogs-Signature: 99f6adf0a156c379057735690dcfae3f483a026dde78ace6252b3da60b0e6bad X-Hub-Signature: sha1=a6edaf56463683b675cbc3a081292369a143c2c4 X-Hub-Signature-256: sha256=99f6adf0a156c379057735690dcfae3f483a026dde78ace6252b3da60b0e6bad
