跳转到主要内容

Remove a response header

import { Example } from "~/components";

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