Skip to content

Commit df322dc

Browse files
committed
Fixed links to the AJAX Requests details page
1 parent 5ca0d22 commit df322dc

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

user_guide_src/source/concepts/http.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ is an object-oriented representation of the HTTP request. It provides everything
9595
$request->getMethod(); // GET, POST, PUT, etc
9696

9797
The request class does a lot of work in the background for you, that you never need to worry about.
98-
The ``isAJAX()`` and ``isSecure()`` methods check several different methods to determine the correct answer.
98+
The `isAJAX()` and `isSecure()` methods check several different methods to determine the correct answer.
9999

100-
.. note:: The ``isAJAX()`` method 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 AJAX Requests </general/ajax> section on how to avoid this problem.
100+
.. note:: The ``isAJAX()`` method 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 </general/ajax>` section on how to avoid this problem.
101101

102102
::
103103

user_guide_src/source/incoming/filters.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ In addition to the standard HTTP methods, this also supports two special cases:
166166
self-explanatory here, but 'cli' would apply to all requests that were run from the command line, while 'ajax'
167167
would apply to every AJAX request.
168168

169+
.. 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 </general/ajax>` section on how to avoid this problem.
170+
171+
::
172+
169173
$filters
170174
========
171175

user_guide_src/source/incoming/incomingrequest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ be checked with the ``isAJAX()`` and ``isCLI()`` methods::
7171
. . .
7272
}
7373

74-
.. note:: The ``isAJAX()`` method 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 AJAX Requests </general/ajax> section on how to avoid this problem.
74+
.. note:: The ``isAJAX()`` method 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 </general/ajax>` section on how to avoid this problem.
7575

7676
::
7777

0 commit comments

Comments
 (0)