Skip to content

Commit f00ef32

Browse files
remove extra title (#25717)
1 parent 9272f63 commit f00ef32

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/content/docs/cloudflare-challenges/challenge-types/challenge-pages/detect-response.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ sidebar:
55
order: 4
66
---
77

8-
## Detect a Challenge Page response
9-
108
When a request encounters a Cloudflare Challenge Page instead of the originally anticipated response, the Challenge Page response (regardless of the Challenge Page type) will have the `cf-mitigated` header present and set to `challenge`. This header can be leveraged to detect if a response was challenged when making fetch/XHR requests. This header provides a reliable way to identify whether a response is a Challenge or not, enabling a web application to take appropriate action based on the result. For example, a front-end application encountering a response from the backend may check the presence of this header value to handle cases where Challenge Pages encountered unexpectedly.
119

1210
:::note

0 commit comments

Comments
 (0)