Code

Ticket #11071: 11071.diff

File 11071.diff, 796 bytes (added by timo, 5 years ago)

updated per ubernostrum's suggestion

Line 
1Index: docs/ref/request-response.txt
2===================================================================
3--- docs/ref/request-response.txt       (revision 11204)
4+++ docs/ref/request-response.txt       (working copy)
5@@ -232,16 +232,7 @@
6 
7    Returns ``True`` if the request was made via an ``XMLHttpRequest``, by
8    checking the ``HTTP_X_REQUESTED_WITH`` header for the string
9-   ``'XMLHttpRequest'``. The following major JavaScript libraries all send this
10-   header:
11-
12-       * jQuery
13-       * Dojo
14-       * MochiKit
15-       * MooTools
16-       * Prototype
17-       * YUI
18-
19+   ``'XMLHttpRequest'``. Most modern JavaScript libraries send this header.
20    If you write your own XMLHttpRequest call (on the browser side), you'll
21    have to set this header manually if you want ``is_ajax()`` to work.
22