Ticket #11071: 11071.diff

File 11071.diff, 796 bytes (added by Tim Graham, 15 years ago)

updated per ubernostrum's suggestion

  • docs/ref/request-response.txt

     
    232232
    233233   Returns ``True`` if the request was made via an ``XMLHttpRequest``, by
    234234   checking the ``HTTP_X_REQUESTED_WITH`` header for the string
    235    ``'XMLHttpRequest'``. The following major JavaScript libraries all send this
    236    header:
    237 
    238        * jQuery
    239        * Dojo
    240        * MochiKit
    241        * MooTools
    242        * Prototype
    243        * YUI
    244 
     235   ``'XMLHttpRequest'``. Most modern JavaScript libraries send this header.
    245236   If you write your own XMLHttpRequest call (on the browser side), you'll
    246237   have to set this header manually if you want ``is_ajax()`` to work.
    247238
Back to Top