Closed G4brym closed 10 hours ago
Latest commit: 931acf718c4f0c2e447db4aae346eccf529a6b59
The changes in this PR will be included in the next version bump.
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/11971817665/npm-package-wrangler-7315
You can reference the automatically updated head of this PR with:
npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/7315/npm-package-wrangler-7315
Or you can use npx
with this latest build directly:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/11971817665/npm-package-wrangler-7315 dev path/to/script.js
wrangler@3.89.0
includes the following runtime dependencies:
Package | Constraint | Resolved |
---|---|---|
miniflare |
workspace:* | 3.20241106.1 |
workerd |
1.20241106.1 | 1.20241106.1 |
workerd --version |
1.20241106.1 | 2024-11-06 |
Please ensure constraints are pinned, and miniflare
/workerd
minor versions match.
@petebacondarwin sure, let me add a test and get back to you Regarding the header name, i don't think "X-Forwarded-Host" fits well, because we are forwarding the complete url, not just the hostname, i guess nothing stops us from doing it anyway, it might just be confusing for someone new The part we are really interested is in the utl pathname + querystring, so i thought i might as well send the complete url
Hey @petebacondarwin I've just updated the pr with new tests and new header name Please take a look when you have time, thanks
Still LGTM!
This pr starts forwarding method and url to upstream. This is not a breaking change, because the AI binding currently just does POST requests.
workerd here