From c6bbc6b6c153a530723a07b20e9885fa88aaf8b4 Mon Sep 17 00:00:00 2001 From: Lonnie Ezell Date: Tue, 4 May 2021 22:57:53 -0500 Subject: [PATCH] [ci skip] Remove ajax filter reference from docs. Fixes #2314 --- user_guide_src/source/incoming/filters.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/user_guide_src/source/incoming/filters.rst b/user_guide_src/source/incoming/filters.rst index 909584a9ad60..ce7ddcbc582b 100644 --- a/user_guide_src/source/incoming/filters.rst +++ b/user_guide_src/source/incoming/filters.rst @@ -167,11 +167,8 @@ specify the method name in lowercase. It's value would be an array of filters to 'get' => ['baz'], ] -In addition to the standard HTTP methods, this also supports two special cases: 'cli', and 'ajax'. The names are -self-explanatory here, but 'cli' would apply to all requests that were run from the command line, while 'ajax' -would apply to every AJAX request. - -.. note:: The AJAX requests depends on the ``X-Requested-With`` header, which in some cases is not sent by default in XHR requests via JavaScript (i.e., fetch). See the :doc:`AJAX Requests ` section on how to avoid this problem. +In addition to the standard HTTP methods, this also supports one special case: 'cli'. The 'cli' method would apply to +all requests that were run from the command line. $filters ========