cloudflare / cloudflare/cloudflare-docs

Clarify how certain request headers in workers are added to the worker fetch API

Open
#26,359 1 comment 0 reactions 6 assignees Claimed by @WalshyDev View on GitHub
content:edit documentation November 2025 product:workers stale
Dominant language
MDX
Stars
5.2k
Forks
16.7k
Avg merge
2d 6h
Merged PRs (30d)
337

Description

### Existing documentation URL(s)

- https://developers.cloudflare.com/workers/runtime-apis/request/#incomingrequestcfproperties

### What changes are you suggesting?

Clarity on how additional headers are added to a request object when calling worker.fetch, such as x-fowarded-port, and how to remove them, or how there is not a way to remove them. A note on what request headers to worker.fetch can't be removed would be helpful.

### Additional information

For added context, there is this app https://adams-sublime-site.webflowtest.io/image-test/headers, that checks the headers. You will notice the x-forwarded-port header is included in the request. Haven't quite figured out how to remove this or if there is even a way to do that.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.