Skip to content
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

Open
wants to merge 1 commit into
base: production
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Copy link
Contributor

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.

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
Expand Down Expand Up @@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* X-Accel-Buffering
* X-Accel-Charset
* X-Accel-Limit-Rate
* X-Accel-Redirect
* `X-Accel-Buffering`
* `X-Accel-Charset`
* `X-Accel-Limit-Rate`
* `X-Accel-Redirect`

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/)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo possilbe > possible

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
A list of all possilbe `Cf-Cache-Status` values is contained in [Cloudflare cache responses](/cache/concepts/cache-responses/)
A list of all possible `Cf-Cache-Status` values is contained in [Cloudflare cache responses](/cache/concepts/cache-responses/).

Loading