Bug Tracker

Opened 15 years ago

Closed 14 years ago

#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:
Blocked by: Blocking:


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 (2)

comment:1 Changed 15 years ago by john

Component: coreajax

comment:2 Changed 14 years ago by john

Resolution: fixed
Status: newclosed

Fixed in SVN rev [4439].

Note: See TracTickets for help on using tickets.