Title: bug: Headers filter does not work on HTTP endpoint · Issue #759 · triggerdotdev/trigger.dev · GitHub
Open Graph Title: bug: Headers filter does not work on HTTP endpoint · Issue #759 · triggerdotdev/trigger.dev
X Title: bug: Headers filter does not work on HTTP endpoint · Issue #759 · triggerdotdev/trigger.dev
Description: Provide environment information NA Describe the bug Headers filter does not work on HTTP endpoint respondWith function. This is because, Headers object does not allow indexed access which is used in eventFilterMatches to get the key valu...
Open Graph Description: Provide environment information NA Describe the bug Headers filter does not work on HTTP endpoint respondWith function. This is because, Headers object does not allow indexed access which is used i...
X Description: Provide environment information NA Describe the bug Headers filter does not work on HTTP endpoint respondWith function. This is because, Headers object does not allow indexed access which is used i...
Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/759
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: Headers filter does not work on HTTP endpoint","articleBody":"### Provide environment information\n\nNA\n\n### Describe the bug\n\nHeaders filter does not work on HTTP endpoint `respondWith` function.\r\n\r\nThis is because, `Headers` object does not allow indexed access which is used in [eventFilterMatches](https://github.com/triggerdotdev/trigger.dev/blob/main/packages/core/src/eventFilterMatches.ts#L17) to get the key value.\n\n### Reproduction repo\n\nNA\n\n### To reproduce\n\n1. Create an HTTP trigger with a `headers` filter.\r\n2. Notice that it is not honoured.\n\n### Additional information\n\n### Solution\r\nConvert the `Headers` object to a `Record` type.","author":{"url":"https://github.com/hmacr","@type":"Person","name":"hmacr"},"datePublished":"2023-11-28T18:28:49Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/759"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1af01b27-ab48-0beb-f628-8c1a0d3ee4e6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2B2:2360CE:757DA6:A89EA1:6AFADABA |
| html-safe-nonce | 5dad6e1a61e31b7b18f4bad8b4fa2e9012db37862959a6195938b073b9f7e69a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkIyOjIzNjBDRTo3NTdEQTY6QTg5RUExOjZBRkFEQUJBIiwidmlzaXRvcl9pZCI6IjUzNjczNTI1NjA2NjkzNTA1ODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 534c71f850d3b68761aef99e04c672b31c70bf3f5cbc77689d9548545f44b5e0 |
| hovercard-subject-tag | issue:2015056501 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/759/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b3166be8527cba5c0aa987a463d40c0ec88bed7413b175986a7bd5695b696eeb/triggerdotdev/trigger.dev/issues/759 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b3166be8527cba5c0aa987a463d40c0ec88bed7413b175986a7bd5695b696eeb/triggerdotdev/trigger.dev/issues/759 |
| og:image:alt | Provide environment information NA Describe the bug Headers filter does not work on HTTP endpoint respondWith function. This is because, Headers object does not allow indexed access which is used i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hmacr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2 |
| turbo-cache-control | no-preview |
| go-import | github.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git |
| octolytics-dimension-user_id | 95297378 |
| octolytics-dimension-user_login | triggerdotdev |
| octolytics-dimension-repository_id | 572570113 |
| octolytics-dimension-repository_nwo | triggerdotdev/trigger.dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572570113 |
| octolytics-dimension-repository_network_root_nwo | triggerdotdev/trigger.dev |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a7ae932999cc6d511008dbf980ff9efad2a31f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width