Ticket #5801 (closed enhancement: fixed)
Let XMLHttp-requests send the X-Requested-With header
| Reported by: | guest | Owned by: | jburke |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1 |
| Component: | IO | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
jQuery, Prototype, YUI and - as it seems - Mootools send the header "X-Requested-With: XMLHttpRequest" with their XHRs. This is a quite convenient feature as it allows the server side to detect whether the current request is a partial request or not. Not only the client side is supported, also popular frameworks like Ruby on Rails, the Zend Framework and CakePHP support that header and expose functionality to the developer. I would really like to have Dojo send that header too.
Change History
Note: See
TracTickets for help on using
tickets.