STRING, can be read, set and unset.

Available inall subroutines.

Request headers sent by the client.

IMPORTANT: Use of the data exposed by these variables could, in some cases, introduce ossification risk to the internet.

Request headers are also frequently used as variables to store strings for later use. Fastly VCL also offers local variables as an alternative for storing temporary values.

Due to Fastly's clustering, request headers set in a subroutine that runs on a fetch node will not be transferred back to the deliver node.

User contributed notes


Do you see an error in this page? Do you have an interesting use case, example or edge case people should know about? Share your knowledge and help people who are reading this page! (Comments are moderated; for support, please contact Fastly support)