Modify ↓
Ticket #1986 (closed enhancement: fixed)
using dataType should also set the accepts header
| Reported by: | yehuda | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.2 |
| Component: | ajax | Version: | 1.2.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Using a dataType (such as JSON), should also set the accepts header so servers that decide what sort of response to return based on those headers will know to return JSON.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
