Refs #30997 -- Added link to Fetch API in release notes.
This commit is contained in:
parent
7edd06a9cf
commit
c9bf1910e2
|
@ -473,10 +473,11 @@ Miscellaneous
|
||||||
|
|
||||||
* The ``HttpRequest.is_ajax()`` method is deprecated as it relied on a
|
* The ``HttpRequest.is_ajax()`` method is deprecated as it relied on a
|
||||||
jQuery-specific way of signifying AJAX calls, while the current usage tends
|
jQuery-specific way of signifying AJAX calls, while the current usage tends
|
||||||
to use the ``fetch()`` JavaScript API. Depending on your use case, you can
|
to use the JavaScript `Fetch API
|
||||||
either write your own AJAX detection method, or use the new
|
<https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API>`_. Depending on
|
||||||
:meth:`.HttpRequest.accepts` method if your code depends on the client
|
your use case, you can either write your own AJAX detection method, or use
|
||||||
``Accept`` HTTP header.
|
the new :meth:`.HttpRequest.accepts` method if your code depends on the
|
||||||
|
client ``Accept`` HTTP header.
|
||||||
|
|
||||||
.. _removed-features-3.1:
|
.. _removed-features-3.1:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue