You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user_guide_src/source/concepts/http.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ is an object-oriented representation of the HTTP request. It provides everything
98
98
$request->getMethod(); // get, post, put, etc
99
99
100
100
The request class does a lot of work in the background for you, that you never need to worry about.
101
-
The `isAJAX()` and `isSecure()` methods check several different methods to determine the correct answer.
101
+
The ``isAJAX()`` and ``isSecure()`` methods check several different methods to determine the correct answer.
102
102
103
103
.. 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.
0 commit comments