Skip to content

Remove a response header

Create a response header transform rule (part of Transform Rules) to remove the cf-connecting-ip HTTP header from the response.

Last updated View as MarkdownAgent setup

The following response header transform rule removes the cf-connecting-ip header from the HTTP response:

Text in Expression Editor:

starts_with(http.request.uri.path, "/private/")

Selected operation under Modify response header: Remove

Header name: cf-connecting-ip

Was this helpful?