-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Update and rename http-request-headers.mdx to http-headers.mdx #18945
base: production
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -1,10 +1,12 @@ | ||||||||||||||||||
--- | ||||||||||||||||||
pcx_content_type: reference | ||||||||||||||||||
title: Cloudflare HTTP request headers | ||||||||||||||||||
title: Cloudflare HTTP headers | ||||||||||||||||||
--- | ||||||||||||||||||
|
||||||||||||||||||
import { Render } from "~/components"; | ||||||||||||||||||
|
||||||||||||||||||
# Request headers | ||||||||||||||||||
|
||||||||||||||||||
Cloudflare passes all HTTP request headers to your origin web server and adds additional headers as specified below. | ||||||||||||||||||
|
||||||||||||||||||
:::note | ||||||||||||||||||
|
@@ -148,3 +150,24 @@ When using Spectrum with a TCP application, these headers are not visible at the | |||||||||||||||||
|
||||||||||||||||||
- Use an HTTP or HTTPS Spectrum app instead of TCP | ||||||||||||||||||
- Use the [Proxy Protocol feature](/spectrum/how-to/enable-proxy-protocol/) | ||||||||||||||||||
|
||||||||||||||||||
# Response headers removed | ||||||||||||||||||
|
||||||||||||||||||
Cloudflare passes all response headers from the origin back to the requester with the exception of the following headers specified below. | ||||||||||||||||||
|
||||||||||||||||||
* X-Accel-Buffering | ||||||||||||||||||
* X-Accel-Charset | ||||||||||||||||||
* X-Accel-Limit-Rate | ||||||||||||||||||
* X-Accel-Redirect | ||||||||||||||||||
Comment on lines
+158
to
+161
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
We generally use monospaced formatting for header names, except if they appear in a heading. |
||||||||||||||||||
|
||||||||||||||||||
# Response headers added | ||||||||||||||||||
|
||||||||||||||||||
Cloudflare adds the following response headers specified below. | ||||||||||||||||||
|
||||||||||||||||||
## Cf-Ray | ||||||||||||||||||
|
||||||||||||||||||
The `Cf-Ray` value returned to the requester will be the same `Cf-Ray` value that was sent to the origin. | ||||||||||||||||||
|
||||||||||||||||||
## Cf-Cache-Status | ||||||||||||||||||
|
||||||||||||||||||
A list of all possilbe `Cf-Cache-Status` values is contained in [Cloudflare cache responses](/cache/concepts/cache-responses/) | ||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo possilbe > possible There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need a redirect for the renamed page.