Title: Support shorthand for dataCollection.httpHeaders · Issue #24335 · getsentry/sentry-javascript · GitHub
Open Graph Title: Support shorthand for dataCollection.httpHeaders · Issue #24335 · getsentry/sentry-javascript
X Title: Support shorthand for dataCollection.httpHeaders · Issue #24335 · getsentry/sentry-javascript
Description: DataCollection.httpHeaders only accepts { request?, response? }, while the JavaScript user docs advertise true, false, and { allow/deny } shorthand. In JavaScript configs, those shorthand values are silently ignored and both directions f...
Open Graph Description: DataCollection.httpHeaders only accepts { request?, response? }, while the JavaScript user docs advertise true, false, and { allow/deny } shorthand. In JavaScript configs, those shorthand values ar...
X Description: DataCollection.httpHeaders only accepts { request?, response? }, while the JavaScript user docs advertise true, false, and { allow/deny } shorthand. In JavaScript configs, those shorthand values ar...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/24335
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support shorthand for dataCollection.httpHeaders","articleBody":"`DataCollection.httpHeaders` only accepts `{ request?, response? }`, while the JavaScript user docs advertise `true`, `false`, and `{ allow/deny }` shorthand. In JavaScript configs, those shorthand values are silently ignored and both directions fall back to `true`.\n\nThe SDK developer specification permits language-specific shorthand applying to both directions. This is related to #23168, which corrected one affected migration example.\n\n\u003c!-- junior-request-attribution:start -->\nvia **Charly Gomez**.\n\u003c!-- junior-request-attribution:end -->\n\n\u003c!-- junior-session-footer:start -->\n\u003c!-- junior-conversation-id:slack%3AC092LQMHRJN%3A1789123811.008309 -->\n\n--\n\n[View Junior Session](https://junior-prod.sentry.dev/conversations/slack%3AC092LQMHRJN%3A1789123811.008309) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC092LQMHRJN%3A1789123811.008309/?project=4510944073809921)\n\n\u003c!-- junior-session-footer:end -->","author":{"url":"https://github.com/apps/sentry-junior","@type":"Person","name":"sentry-junior"},"datePublished":"2026-09-11T11:02:45Z","url":"https://github.com/getsentry/sentry-javascript/issues/24335"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:46edb624-e298-e067-566b-8d93e351fc64 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFA0:28EBDB:5097D9:6A9955:6B04DCBB |
| html-safe-nonce | 21392e377ed9f84f16914a782667141c39643bd6cd6eda90737ba2bf9fab9dc5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkEwOjI4RUJEQjo1MDk3RDk6NkE5OTU1OjZCMDREQ0JCIiwidmlzaXRvcl9pZCI6IjgyNzIwOTcyNTE0MzA4MTY5NTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 376457ad458c1f33c139ff1773399db3fafb2f05658e70e75194d8669336ae91 |
| hovercard-subject-tag | issue:5423553957 |
| 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/getsentry/sentry-javascript/24335/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ca60bf99050f8588204aa34ef35081ce2a1a71a36aa46c008820cb13233de042/getsentry/sentry-javascript/issues/24335 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ca60bf99050f8588204aa34ef35081ce2a1a71a36aa46c008820cb13233de042/getsentry/sentry-javascript/issues/24335 |
| og:image:alt | DataCollection.httpHeaders only accepts { request?, response? }, while the JavaScript user docs advertise true, false, and { allow/deny } shorthand. In JavaScript configs, those shorthand values ar... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sentry-junior[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 194dacb8acfd3e4d3ffb2704e0b1f10327f0dad690a7142acc7b0e0a2d073965 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| 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 | 6c35540a0a2991ee20bd053ba2601cce33f72cb1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width