From 5570f044cf5dad32b9eadb19c3fb3cfed5f8635f Mon Sep 17 00:00:00 2001 From: ADmad Date: Mon, 20 Apr 2026 09:03:53 +0530 Subject: [PATCH 1/2] Update docs for request detectors --- docs/en/controllers/request-response.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/en/controllers/request-response.md b/docs/en/controllers/request-response.md index bb23ea13df..b3bfbb4159 100644 --- a/docs/en/controllers/request-response.md +++ b/docs/en/controllers/request-response.md @@ -448,8 +448,7 @@ There are several built-in detectors that you can use: - `is('options')` Check to see whether the current request is OPTIONS. - `is('ajax')` Check to see whether the current request came with X-Requested-With = XMLHttpRequest. -- `is('ssl')` Check to see whether the request is via SSL. -- `is('flash')` Check to see whether the request has a User-Agent of Flash. +- `isrehttps')` Check to see whether the request is via HTTPS. - `is('json')` Check to see whether the request URL has 'json' extension or the `Accept` header is set to 'application/json'. - `is('xml')` Check to see whether the request URL has 'xml' extension or the `Accept` header is set to From a31b3d55ad6f02b413f82e6a173b009130e13c90 Mon Sep 17 00:00:00 2001 From: ADmad Date: Mon, 20 Apr 2026 09:06:35 +0530 Subject: [PATCH 2/2] Fix typo --- docs/en/controllers/request-response.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/controllers/request-response.md b/docs/en/controllers/request-response.md index b3bfbb4159..6ad39d1a92 100644 --- a/docs/en/controllers/request-response.md +++ b/docs/en/controllers/request-response.md @@ -448,7 +448,7 @@ There are several built-in detectors that you can use: - `is('options')` Check to see whether the current request is OPTIONS. - `is('ajax')` Check to see whether the current request came with X-Requested-With = XMLHttpRequest. -- `isrehttps')` Check to see whether the request is via HTTPS. +- `is('https')` Check to see whether the request is via HTTPS. - `is('json')` Check to see whether the request URL has 'json' extension or the `Accept` header is set to 'application/json'. - `is('xml')` Check to see whether the request URL has 'xml' extension or the `Accept` header is set to