Title: Setting any header throws Preflight keepalive error in Chromium · Issue #1470 · getsentry/sentry-javascript · GitHub
Open Graph Title: Setting any header throws Preflight keepalive error in Chromium · Issue #1470 · getsentry/sentry-javascript
X Title: Setting any header throws Preflight keepalive error in Chromium · Issue #1470 · getsentry/sentry-javascript
Description: What is the current behavior? When using the config: headers: { 'Content-Type': 'application/json', }, There results the error: Preflight request for request with keepalive specified is currently not supported It works without the config...
Open Graph Description: What is the current behavior? When using the config: headers: { 'Content-Type': 'application/json', }, There results the error: Preflight request for request with keepalive specified is currently n...
X Description: What is the current behavior? When using the config: headers: { 'Content-Type': 'application/json', }, There results the error: Preflight request for request with keepalive specifie...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/1470
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Setting any header throws Preflight keepalive error in Chromium","articleBody":"**What is the current behavior?**\r\n\r\nWhen using the config:\r\n```\r\nheaders: {\r\n 'Content-Type': 'application/json',\r\n},\r\n```\r\nThere results the error:\r\n```\r\nPreflight request for request with keepalive specified is currently not supported\r\n```\r\nIt works without the configuration.\r\n\r\n**What is the expected behavior?**\r\n\r\nIt should add the header and continue or throw a less cryptic error.\r\n\r\nWhich versions of Raven.js, and which browser and OS are affected by this issue? Did this work in previous versions of Raven.js? Are you using the CDN (http://ravenjs.com)? Are you using [hosted Sentry](https://sentry.io) or on-premises? If on-premises, which version (e.g. 8.7.0)?\r\n\r\n```\r\nraven-js@^3.21.0:\r\n version \"3.26.4\"\r\n resolved \"https://registry.yarnpkg.com/raven-js/-/raven-js-3.26.4.tgz#32aae3a63a9314467a453c94c89a364ea43707be\"\r\n \r\nraven@^2.3.0:\r\n version \"2.6.3\"\r\n resolved \"https://registry.yarnpkg.com/raven/-/raven-2.6.3.tgz#207475a12809277ef54eaceafe2597ff65262ab4\"\r\n dependencies:\r\n cookie \"0.3.1\"\r\n md5 \"^2.2.1\"\r\n stack-trace \"0.0.10\"\r\n timed-out \"4.0.1\"\r\n uuid \"3.0.0\"\r\n```\r\n\r\nChromium:\r\n```\r\nVersion 68.0.3440.75 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)\r\n```","author":{"url":"https://github.com/carcinocron","@type":"Person","name":"carcinocron"},"datePublished":"2018-08-08T19:38:57Z","url":"https://github.com/getsentry/sentry-javascript/issues/1470"}
| 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:5a73adf2-cd7d-157f-b5af-5f50a7484dbe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84F4:F4D72:884C08:BAD1BF:6B044C2B |
| html-safe-nonce | a2f8ddf1a75a9032676efb808b04d5f9ce055eaadbd935ef6e7ff4961391f50c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEY0OkY0RDcyOjg4NEMwODpCQUQxQkY6NkIwNDRDMkIiLCJ2aXNpdG9yX2lkIjoiMjc5OTIxMTA5MjYyMTE1MTI3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f8e664b5a0fdaf3ea59241c1278cbd4677a0d91faeeed183157af95ab8c360af |
| hovercard-subject-tag | issue:348863915 |
| 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/1470/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e780e89da8af489ca786c493a5f61d9cb5d0ef0d91e06fc34422c929849c3a22/getsentry/sentry-javascript/issues/1470 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e780e89da8af489ca786c493a5f61d9cb5d0ef0d91e06fc34422c929849c3a22/getsentry/sentry-javascript/issues/1470 |
| og:image:alt | What is the current behavior? When using the config: headers: { 'Content-Type': 'application/json', }, There results the error: Preflight request for request with keepalive specified is currently n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | carcinocron |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| 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 | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| 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