-
Notifications
You must be signed in to change notification settings - Fork 749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(playground-preview-worker,edge-preview-authenticated-proxy): allow overriding raw request method with the X-CF-Http-Method header #7630
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 7a1cc48 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12516528789/npm-package-wrangler-7630 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/7630/npm-package-wrangler-7630 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12516528789/npm-package-wrangler-7630 dev path/to/script.js Additional artifacts:wget https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12516528789/npm-package-cloudflare-workers-bindings-extension-7630 -O ./cloudflare-workers-bindings-extension.0.0.0-v38c38bffc.vsix && code --install-extension ./cloudflare-workers-bindings-extension.0.0.0-v38c38bffc.vsix npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12516528789/npm-package-create-cloudflare-7630 --no-auto-update npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12516528789/npm-package-cloudflare-kv-asset-handler-7630 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12516528789/npm-package-miniflare-7630 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12516528789/npm-package-cloudflare-pages-shared-7630 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12516528789/npm-package-cloudflare-unenv-preset-7630 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12516528789/npm-package-cloudflare-vitest-pool-workers-7630 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12516528789/npm-package-cloudflare-workers-editor-shared-7630 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12516528789/npm-package-cloudflare-workers-shared-7630 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12516528789/npm-package-cloudflare-workflows-shared-7630 Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
184d121
to
e125497
Compare
…ith the X-CF-Http-Method header
…ethod with the X-CF-Http-Method header
b509e2b
to
7a1cc48
Compare
Fixes DEVX-1449.
This is the first part of the fixes. It introduces the
X-CF-Http-Method
header that lets our proxy know which HTTP request method the users is sending. This will be utilized by the playground and quick editor in a separate PR to address an issue where OPTIONS raw http request is not handled properly. This change is backward compatible so it should be landed first before we update the implementation on the playground (#7639) and quick editor.