| is_challenge | R Documentation |
Does a response carry a browser check instead of the resource?
is_challenge(headers)
headers |
The response headers, as the raw header block (one string,
lines separated by |
TRUE for a check a real browser would pass: Cloudflare's, by its
cf-mitigated: challenge header.
is_block() for the other refusal a browser gets past.
is_challenge("HTTP/2 403\r\ncf-mitigated: challenge\r\n\r\n")
is_challenge("HTTP/2 200\r\ncontent-type: application/zip\r\n\r\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.