DevKits

Miscellaneous · Request header

Forwarded

Standardized replacement for X-Forwarded-*.

What is Forwarded?

Forwarded consolidates X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Proto into a single structured header. Adoption is still limited — most stacks still use the X-Forwarded-* set.

Typical usage

Set by modern reverse proxies.

Examples

Forwarded: for=203.0.113.10; proto=https; host=example.com

Specification

RFC 7239

Frequently asked questions

What is the Forwarded HTTP header?

Forwarded consolidates X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Proto into a single structured header. Adoption is still limited — most stacks still use the X-Forwarded-* set.

Is Forwarded a request or response header?

Forwarded is a request header — the client sends it to the server. Set by modern reverse proxies.

What does a Forwarded header look like?

A typical Forwarded header looks like: Forwarded: for=203.0.113.10; proto=https; host=example.com.

Related headers

Work with this header