FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add Workers cf.originRangeRequests types by zaidoon1 · Pull Request #7059 · cloudflare/workerd · GitHub

Add Workers cf.originRangeRequests types - #7059

Open
zaidoon1 wants to merge 3 commits into
cloudflare:mainfrom
zaidoon1:zaidoon/CACHE-5646-workers-origin-range-requests
Open

Add Workers cf.originRangeRequests types#7059
zaidoon1 wants to merge 3 commits into
cloudflare:mainfrom
zaidoon1:zaidoon/CACHE-5646-workers-origin-range-requests

Conversation

Copy link
Copy Markdown
Contributor

Adds typed support for the Workers cf.originRangeRequests request option with "on" and "off" values. The cf object is serialized generically, so this does not require a runtime implementation change.

The type coverage accepts both Workers values and rejects the Cache Rules-only "default" value. The existing cache settings test also covers retaining the property on Request.cf.

Generated type snapshots are pending and will be taken from the snapshot CI artifact.

Testing:

  • git diff --check
  • Local build and tests not run; relying on CI as requested.

zaidoon1 marked this pull request as ready for review August 28, 2026 17:09
zaidoon1 requested review from a team as code owners August 28, 2026 17:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL