A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.cloudflare.com/rules/snippets/examples/bot-data-to-origin/ below:

Send Bot Management information to origin · Cloudflare Rules docs

// Clone the original request to construct a new request

const newRequest = new Request(request);

// Set Bot Management headers on a new request to the origin: https://developers.cloudflare.com/bots/reference/bot-management-variables/#workers-variables

newRequest.headers.set("bot-score", request.cf.botManagement.score); // bot score (integer)

request.cf.botManagement.verifiedBot,

); // verified bot (boolean)

newRequest.headers.set("ja4", request.cf.botManagement.ja4); // JA4 fingerprint hash (string)

// Serve response to the new request from the origin

return await fetch(newRequest);


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4