view mod_pubsub_forgejo/webhook-examples/pull_request_comment/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: 99fb308a-ed68-46d7-a8b5-4bf935ae294f
X-Forgejo-Event: issue_comment
X-Forgejo-Event-Type: pull_request_comment
X-Forgejo-Signature: 5fc374c851a20a0e18b65d32d9901c5f962cce950452cebc81bb5d6b0c023123
X-GitHub-Delivery: 99fb308a-ed68-46d7-a8b5-4bf935ae294f
X-GitHub-Event: issue_comment
X-GitHub-Event-Type: pull_request_comment
X-Gitea-Delivery: 99fb308a-ed68-46d7-a8b5-4bf935ae294f
X-Gitea-Event: issue_comment
X-Gitea-Event-Type: pull_request_comment
X-Gitea-Signature: 5fc374c851a20a0e18b65d32d9901c5f962cce950452cebc81bb5d6b0c023123
X-Gogs-Delivery: 99fb308a-ed68-46d7-a8b5-4bf935ae294f
X-Gogs-Event: issue_comment
X-Gogs-Event-Type: pull_request_comment
X-Gogs-Signature: 5fc374c851a20a0e18b65d32d9901c5f962cce950452cebc81bb5d6b0c023123
X-Hub-Signature: sha1=ea62c579c31ae99001c1e9b769d4a71e4dbc4b7f
X-Hub-Signature-256: sha256=5fc374c851a20a0e18b65d32d9901c5f962cce950452cebc81bb5d6b0c023123