Skip to content

Commit e024f6b

Browse files
authored
Merge pull request #5473 from kenjis/fix-docs-http.rst
docs: fix http.rst
2 parents de76fef + 9a9ebcc commit e024f6b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/concepts/http.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ is an object-oriented representation of the HTTP request. It provides everything
9595
$request->getHeader('host');
9696
$request->getHeader('Content-Type');
9797

98-
$request->getMethod(); // GET, POST, PUT, etc
98+
$request->getMethod(); // get, post, put, etc
9999

100100
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.
102102

103103
.. 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.
104104

0 commit comments

Comments
 (0)