Skip to content

Commit 271cab9

Browse files
authored
Update docs for request detectors (#8285)
* Update docs for request detectors * Fix typo
1 parent e275970 commit 271cab9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

docs/en/controllers/request-response.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,7 @@ There are several built-in detectors that you can use:
448448
- `is('options')` Check to see whether the current request is OPTIONS.
449449
- `is('ajax')` Check to see whether the current request came with
450450
X-Requested-With = XMLHttpRequest.
451-
- `is('ssl')` Check to see whether the request is via SSL.
452-
- `is('flash')` Check to see whether the request has a User-Agent of Flash.
451+
- `is('https')` Check to see whether the request is via HTTPS.
453452
- `is('json')` Check to see whether the request URL has 'json' extension or the
454453
`Accept` header is set to 'application/json'.
455454
- `is('xml')` Check to see whether the request URL has 'xml' extension or the `Accept` header is set to

0 commit comments

Comments
 (0)